### Question:
State { State (String name, DirectedGraph graph) { if ("".equals (name)) { throw new ExecutionException ("empty state name"); } mName = name; mGraph = graph; mLabel = ""; mAction = ""; } State(String name, DirectedGraph graph);   }### Answer:
@Test public void testState () { DirectedGraph graph = new GraphImpl (GRAPH_NAME); State state = new State (STATE_NAME, graph); assertEquals (graph, state.mGraph); assertEquals ("", state.mLabel); assertEquals ("", state.mAction); }