public void unregisterEntity(final String id, final GRNType grnType) {
        removeGrantsForTarget(grnRegistry.newGRN(grnType, id));
    }
@Test
    void unregistersEntityForEachType() {
        for (GRNType type : GRNTypes.builtinTypes()) {
            entityOwnershipService.unregisterEntity("1234", type);
            assertGrantRemoval(type, "1234");
        }
    }