### Question:
DirectedGraphImpl implements DirectedGraph { public String getName () { return mName; } DirectedGraphImpl(String name); void read(String path, String fileName); String getName(); State addState(String name); State getState(String name); State getStateByLabel(String label); State getRootState(); State getBeginState(); Transition addTransition(String sourceName, String targetName); Transition addTransition(State source, State target); Transition getTransition(String sourceName, String targetName); Transition getTransition(State source, State target); Set<Transition> getTransitions(String sourceName); Set<Transition> getTransitions(State source);  }### Answer:
@Test public void testGetName () { assertEquals (GRAPH_NAME, new DirectedGraphImpl (GRAPH_NAME).getName ()); }