### Question:
AuthorizationGrantFileDAOImpl implements AuthorizationGrantDAO { @Override public List<AuthorizationGrant> findForEntity(UUID entityId) { Map<UUID, AuthorizationGrant> placeGrants = grants.get(entityId); return placeGrants == null ? Collections.<AuthorizationGrant>emptyList() : placeGrants.values().stream().collect(Collectors.toList()); } AuthorizationGrantFileDAOImpl(); @Override void save(AuthorizationGrant grant); @Override List<AuthorizationGrant> findForEntity(UUID entityId); @Override List<AuthorizationGrant> findForPlace(UUID placeId); @Override void removeForPlace(UUID placeId); @Override void removeGrantsForEntity(UUID entityId); @Override void removeGrant(UUID entityId, UUID placeId);  }### Answer:
@Test public void testFindForPerson() { List<AuthorizationGrant> grants = fileDao.findForEntity(entityId); assertNotNull(grants); assertEquals(1, grants.size()); }