/** test for correct data being added in the case of nondeterminism. */
@Test
public final void testCreateLabelToStateMap_nondet1()
{
Map<Label,List<CmpVertex>> trans = createLabelToStateMap(labelList(new String[] {"t"}), new StringVertex("A"),
createLabelToStateMap(AbstractLearnerGraph.buildList(Arrays.asList(new String[] {"b","e"}),config,converter), new StringVertex("A"),
createLabelToStateMap(AbstractLearnerGraph.buildList(Arrays.asList(new String[] {"f"}),config,converter), new StringVertex("C"),null)));
List<CmpVertex>
A=Arrays.asList(new CmpVertex[]{new StringVertex("A")}),
C=Arrays.asList(new CmpVertex[]{new StringVertex("C")}),
AC=Arrays.asList(new CmpVertex[]{new StringVertex("A"),new StringVertex("C")});
Map<Label,List<CmpVertex>> expected = new HashMap<Label,List<CmpVertex>>();
expected.put(lb("e"),AC);expected.put(lb("b"),AC);expected.put(lb("f"), C);expected.put(lb("t"), A);
assertSame(trans,createLabelToStateMap(labelList(new String[] {"b","e"}), new StringVertex("C"),trans));
assertEquals(expected,trans);
}