*/
@Test
public void testLdifDeleteExistingEntry() throws Exception
{
Dn adminDn = new Dn( schemaManager, "uid=admin,ou=system" );
CoreSession session = new MockCoreSession( new LdapPrincipal( schemaManager, adminDn, AuthenticationLevel.STRONG ),
new MockDirectoryService( 1 ) );
AddOperationContext addCtx = new AddOperationContext( session );
Entry entry1 = createEntry( "dc=test,ou=test,ou=system" );
entry1.put( "ObjectClass", "top", "domain" );