@Test
public void testGrantFactAccessSubjectAlreadyInAcl() throws Exception {

  GrantFactAccessRequest request = createGrantAccessRequest();
  FactAclEntryRecord existingEntry = createFactAclEntryRecord();
  when(factRequestResolver.resolveFact(request.getFact())).thenReturn(createFactRecord(request).addAclEntry(existingEntry));
  when(subjectResolver.resolveSubject(subject.getName())).thenReturn(subject);
  delegate.handle(request);
  verify(objectFactDao, never()).storeFactAclEntry(any(), any());
  verify(aclEntryResponseConverter).apply(matchFactAclEntryRecord(existingEntry.getOriginID()));
}