searchRequest.setScope( config.getSearchScope() );
searchRequest.setTypesOnly( false );
searchRequest.addAttributes( config.getAttributes() );
DirectoryService directoryService = new MockDirectoryService();
directoryService.setSchemaManager( schemaManager );
( ( MockSyncReplConsumer ) syncreplClient ).init( directoryService );
directoryService.setDnFactory( new DefaultDnFactory( schemaManager, null ) );
syncreplClient.connect( true );
syncreplClient.startSync();
}
catch ( Exception e )
{