loadStoredProcedureUnit( sysRoot, BackupUtilities.class.getName() );
StoredProcedureUtils.loadStoredProcedureClass( sysRoot, BackupUtilities.class.getName(), getClass() );
    public void testAfterDeleteBackupDeletedEntry() throws NamingException    {        // Load the stored procedure unit which has the stored procedure to be triggered.        loadStoredProcedureUnit( sysRoot, BackupUtilities.class.getName() );                // Create a container for backing up deleted entries.        Attributes backupContext = new BasicAttributes( "ou", "backupContext", true );        Attribute objectClass = new BasicAttribute( "objectClass" );        backupContext.put( objectClass );        objectClass.add( "top" );        objectClass.add( "organizationalUnit" );        sysRoot.createSubcontext( "ou=backupContext", backupContext );                // Create the Triger Specification within a Trigger Subentry.        createTriggerSubentry( "triggerSubentry1",            "AFTER delete CALL \"" + BackupUtilities.class.getName() + ".backupDeleted\" ( $name, $operationPrincipal, $deletedEntry )" );                // Create a test entry which is selected by the Trigger Subentry.        Attributes testEntry = new BasicAttributes( "ou", "testou", true );        objectClass = new BasicAttribute( "objectClass" );        testEntry.put( objectClass );        objectClass.add( "top" );        objectClass.add( "organizationalUnit" );        sysRoot.createSubcontext( "ou=testou", testEntry );                // Delete the test entry in order to fire the Trigger.        sysRoot.destroySubcontext( "ou=testou" );                // ------------------------------------------        // The trigger should be fired at this point.        // ------------------------------------------                // Check if the Trigger really worked (backed up the deleted entry).        assertNotNull( sysRoot.lookup( "ou=testou,ou=backupContext" ) );    }