public static void setup() throws Exception
{
schemaManager = new DefaultSchemaManager();
Dn entryName = new Dn( schemaManager, "ou=test, ou=system" );
PROTECTED_ITEMS.add( new MaxImmSubItem( 2 ) );
ENTRY = new DefaultEntry( schemaManager, entryName );
ENTRY.put( "cn", "1", "2" );
CN_AT = schemaManager.lookupAttributeTypeRegistry( "cn" );
SN_AT = schemaManager.lookupAttributeTypeRegistry( "sn" );