if ( this.getName().equals( "testDisableAnonymousBinds" ) )
if ( this.getName().equals( "testDisableAnonymousBinds" ) || this.getName().equals( "testCompareWithoutAuthentication" ) )
    public void setUp() throws Exception    {        if ( this.getName().equals( "testDisableAnonymousBinds" ) )        {            configuration.setAllowAnonymousAccess( false );        }        else if ( this.getName().equals( "testEnableAnonymousBindsOnRootDSE" ) )        {            configuration.setAllowAnonymousAccess( false );        }        else if ( this.getName().equals( "testUserAuthOnMixedCaseSuffix" ) )        {            Set partitions = new HashSet();            partitions.addAll( configuration.getContextPartitionConfigurations() );            MutablePartitionConfiguration partition = new MutablePartitionConfiguration();            partition.setSuffix( "dc=aPache,dc=org" );            Attributes entry = new BasicAttributes( "dc", "aPache", true );            Attribute oc = new BasicAttribute( "objectClass" );            entry.put( oc );            oc.add( "top" );            oc.add( "domain" );            partition.setName( "apache" );            partition.setContextEntry( entry );            partition.setIndexedAttributes( Collections.singleton( "dc" ) );            partitions.add( partition );            configuration.setContextPartitionConfigurations( partitions );        }        else if ( this.getName().equals( "testAnonymousBindsEnabledBaseSearch" ) )        {            // allow anonymous access            configuration.setAllowAnonymousAccess( true );            // create a partition to search            Set partitions = new HashSet();            partitions.addAll( configuration.getContextPartitionConfigurations() );            MutablePartitionConfiguration partition = new MutablePartitionConfiguration();            partition.setSuffix( "dc=apache,dc=org" );            Attributes entry = new BasicAttributes( "dc", "apache", true );            Attribute oc = new BasicAttribute( "objectClass" );            entry.put( oc );            oc.add( "top" );            oc.add( "domain" );            partition.setName( "apache" );            partition.setContextEntry( entry );            partition.setIndexedAttributes( Collections.singleton( "dc" ) );            partitions.add( partition );            configuration.setContextPartitionConfigurations( partitions );        }        super.setUp();    }