sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_PROP, DerefAliasesEnum.NEVERDEREFALIASES.getName() );
sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_DEREF_ALIAS_PROP, DerefAliasesEnum.NEVER_DEREF_ALIASES );
    public void testFilterExpansion2() throws Exception    {        SearchControls controls = new SearchControls();        controls.setSearchScope( SearchControls.SUBTREE_SCOPE );        controls.setDerefLinkFlag( false );        sysRoot.addToEnvironment( DerefAliasesEnum.JNDI_PROP, DerefAliasesEnum.NEVERDEREFALIASES.getName() );                HashMap map = new HashMap();        NamingEnumeration list = sysRoot.search( "", "(| (name=testing00)(name=testing01))", controls );        while ( list.hasMore() )        {            SearchResult result = ( SearchResult ) list.next();            map.put( result.getName(), result.getAttributes() );        }        assertEquals( "size of results", 2, map.size() );        assertTrue( "contains ou=testing00,ou=system", map.containsKey( "ou=testing00,ou=system" ) );         assertTrue( "contains ou=testing01,ou=system", map.containsKey( "ou=testing01,ou=system" ) );     }