public void unregisterEventDefinition(String id) {
        removeGrantsForTarget(grnRegistry.newGRN(GRNTypes.EVENT_DEFINITION, id));
    }
@Test
    void unregisterEventDefinition() {
        entityOwnershipService.unregisterEventDefinition("1234");
        assertGrantRemoval(GRNTypes.EVENT_DEFINITION, "1234");
    }