### Question:
GradientDescent extends Optimizer { @Override public String getOptimizerName() { return "GradientDescent"; } GradientDescent(Graph graph);  GradientDescent(Graph graph, float learningRate);  GradientDescent(Graph graph, String name, float learningRate); @Override String toString(); @Override String getOptimizerName(); static final float LEARNING_RATE_DEFAULT; }### Answer:
@Test public void testGetOptimizerName() { try (TestSession session = TestSession.createTestSession(tfMode)) { Graph graph = session.getGraph(); GradientDescent instance = new GradientDescent(graph); String expResult = "GradientDescent"; String result = instance.getOptimizerName(); assertEquals(expResult, result); } }