}
@Test
public final void testPrefixRemovingCollection6()
{
PTASequenceSet c = new PTASequenceSet();
c.addSequence(new LinkedList<Label>());
c.addSequence(labelList(new String[]{"a"}));
c.addSequence(labelList(new String[]{}));
c.addSequence(labelList(new String[]{"a","a"}));
c.addSequence(labelList(new String[]{"a"}));
Set<List<Label>> expected = buildSet(new String[][]{
new String[]{"a","a"}
},config,converter),actual = new HashSet<List<Label>>();actual.addAll(c.getData());
Assert.assertEquals(1, c.getData().size());
Assert.assertTrue(expected.equals(actual));
Assert.assertFalse(c.getData().isEmpty());
Assert.assertTrue(c.contains(new LinkedList<Label>()));
Assert.assertTrue(c.contains(labelList(new String[]{"a"})));
Assert.assertTrue(c.contains(labelList(new String[]{"a","a"})));
Assert.assertFalse(c.contains(labelList(new String[]{"a","a","a"})));
Assert.assertTrue(c.containsAll(expected));
Assert.assertTrue(c.containsAll(c));
}