@Test
public void testGetFactById() {

  UUID id = UUID.randomUUID();
  FactEntity entity = new FactEntity();
  FactRecord record = new FactRecord();
  when(factManager.getFact(id)).thenReturn(entity);
  when(factRecordConverter.fromEntity(entity)).thenReturn(record);
  assertSame(record, dao.getFact(id));
  verify(factManager).getFact(id);
  verify(factRecordConverter).fromEntity(entity);
}