ModelTestCase model = new ModelTestCase(new FSM());
model.buildGraph();
InspectableGraph graph = model.getGraph();
// now check that the correct graph has been built.
Assert.assertEquals(3, graph.numVertices());
Assert.assertEquals(5, graph.numEdges());
Vertex s0 = model.getVertex("0");
Vertex s1 = model.getVertex("1");
Vertex s2 = model.getVertex("2");
Assert.assertNotNull(s0);
Assert.assertNotNull(s1);