/** Tests that we choke on an empty graph. */
@Test(expected=IllegalArgumentException.class)
public final void test_containsSequence1_fail()
{
DirectedSparseGraph g = new DirectedSparseGraph();
DirectedSparseVertex init = new DirectedSparseVertex();
init.addUserDatum(JUConstants.INITIAL, true, UserData.SHARED);
init.addUserDatum(JUConstants.ACCEPTED, false, UserData.SHARED);
init.addUserDatum(JUConstants.LABEL, "A", UserData.SHARED);
g.addVertex(init);
PTASequenceEngine engine = new PTA_FSMStructure(new LearnerGraph(g,config));
engine.containsSequence(new ArrayList<String>());
}