@Test
public void testRefreshFactUpdatesEntity() {

  FactRecord record = new FactRecord().setId(UUID.randomUUID());
  mockReindexingOfFact(record);
  assertNotNull(dao.refreshFact(record));
  verify(factManager).refreshFact(record.getId());
  verifyReindexingOfFact(record);
}