Dn suffixDn = new Dn( schemaManager, "dc=example,dc=com" );
Entry entry = new DefaultEntry( schemaManager, suffixDn,
"objectClass: top",
"objectClass: domain",
"dc: example",
SchemaConstants.ENTRY_CSN_AT, new CsnFactory( 0 ).newInstance().toString(),
SchemaConstants.ENTRY_UUID_AT, UUID.randomUUID().toString() );
store2.add( new AddOperationContext( null, entry ) );
// lookup the context entry