@Test
public void testStoreFactSavesComment() {

  FactCommentRecord comment = new FactCommentRecord();
  FactRecord fact = new FactRecord()
          .setId(UUID.randomUUID())
          .addComment(comment);
  when(factRecordConverter.toEntity(fact)).thenReturn(new FactEntity());
  when(factCommentRecordConverter.toEntity(comment, fact.getId())).thenReturn(new FactCommentEntity());
  dao.storeFact(fact);
  verify(factManager).saveFactComment(notNull());
  verify(factCommentRecordConverter).toEntity(argThat(r -> r.getId() != null), eq(fact.getId()));
}