public ImmutableSet<GrantDTO> getForGranteeWithCapability(GRN grantee, Capability capability) {
        return streamQuery(DBQuery.and(
                DBQuery.is(GrantDTO.FIELD_GRANTEE, grantee),
                DBQuery.is(GrantDTO.FIELD_CAPABILITY, capability)
        )).collect(ImmutableSet.toImmutableSet());
    }
@Test
    @MongoDBFixtures("grants.json")
    public void getForGranteeWithCapability() {
        final GRN jane = grnRegistry.newGRN("user", "jane");
        final GRN john = grnRegistry.newGRN("user", "john");

        assertThat(dbService.getForGranteeWithCapability(jane, Capability.MANAGE)).hasSize(1);
        assertThat(dbService.getForGranteeWithCapability(jane, Capability.OWN)).hasSize(1);
        assertThat(dbService.getForGranteeWithCapability(john, Capability.VIEW)).hasSize(1);
    }