@Test
public void testFromEntityWithComments() {

  FactEntity entity = new FactEntity().setId(UUID.randomUUID());
  when(factManager.fetchFactComments(entity.getId()))
          .thenReturn(ListUtils.list(new FactCommentEntity(), new FactCommentEntity(), new FactCommentEntity()));
  when(factCommentRecordConverter.fromEntity(notNull())).thenReturn(new FactCommentRecord());
  FactRecord record = converter.fromEntity(entity);
  assertEquals(3, record.getComments().size());
  verify(factManager).fetchFactComments(entity.getId());
  verify(factCommentRecordConverter, times(3)).fromEntity(notNull());
}