    @Test
    public void createAccessDefinition() {

        final String objID = "test";
        final String permission = "maytest";
        addRuleMapping(objID, permission, TRUE_RULE.getRid());
        startNewTransaction();
        assertNotNull(
            MCRHIBConnection.instance().getSession().get(MCRACCESS.class, new MCRACCESSPK(permission, objID)));
    }