@Test
public void testSubstringNoAnyNoFinal() throws ParseException
{
SubstringNode node = ( SubstringNode ) FilterParser.parse( null, "(ou=foo*)" );
// just check that it doesn't throw for now
node = ( SubstringNode ) node.clone();
assertEquals( "ou", node.getAttribute() );
assertTrue( node instanceof SubstringNode );
assertEquals( 0, node.getAny().size() );
assertFalse( node.getAny().contains( "" ) );
assertEquals( "foo", node.getInitial() );