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