@Test
public void testSubstringNoIniManyAnyNoFinal() throws ParseException
{
SubstringNode node = ( SubstringNode ) FilterParser.parse( null, "(ou=*b*c*d*e*)" );
// just check that it doesn't throw for now
node = ( SubstringNode ) node.clone();
assertEquals( "ou", node.getAttribute() );
assertTrue( node instanceof SubstringNode );
assertEquals( 4, node.getAny().size() );
assertFalse( node.getAny().contains( "" ) );
assertTrue( node.getAny().contains( "e" ) );
assertTrue( node.getAny().contains( "b" ) );
assertTrue( node.getAny().contains( "c" ) );
assertTrue( node.getAny().contains( "d" ) );
assertEquals( null, node.getInitial() );
assertEquals( null, node.getFinal() );
}