@Test
public void testRetractFactSavesAclEntry() {

  FactAclEntryRecord entry = new FactAclEntryRecord();
  FactRecord fact = new FactRecord()
          .setId(UUID.randomUUID())
          .addAclEntry(entry);
  when(factAclEntryRecordConverter.toEntity(entry, fact.getId())).thenReturn(new FactAclEntity());
  dao.retractFact(fact);
  verify(factManager).saveFactAclEntry(notNull());
  verify(factAclEntryRecordConverter).toEntity(entry, fact.getId());
}