public void testLdifDeleteExistingEntry() throws Exception
{
Dn adminDn = new Dn( schemaManager, "uid=admin,ou=system" );
DirectoryService directoryService = new MockDirectoryService( 1 );
directoryService.setSchemaManager( schemaManager );
CoreSession session = new MockCoreSession( new LdapPrincipal( schemaManager, adminDn,
AuthenticationLevel.STRONG ),
directoryService );
AddOperationContext addCtx = new AddOperationContext( session );
Entry entry1 = createEntry( "dc=test,ou=test,ou=system" );