private CoreSession injectEntries() 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 childEntry1 = createEntry( "dc=child1,ou=test,ou=system" );