### Question:
FactCommentRecordConverter { public FactCommentRecord fromEntity(FactCommentEntity entity) { if (entity == null) return null; return new FactCommentRecord() .setId(entity.getId()) .setReplyToID(entity.getReplyToID()) .setOriginID(entity.getOriginID()) .setComment(entity.getComment()) .setTimestamp(entity.getTimestamp()); }  FactCommentRecord fromEntity(FactCommentEntity entity); FactCommentEntity toEntity(FactCommentRecord record, UUID factID);  }### Answer:
@Test public void testFromEntityWithNullEntity() { assertNull(converter.fromEntity(null)); }
@Test public void testFromEntityWithEmptyEntity() { assertNotNull(converter.fromEntity(new FactCommentEntity())); }
@Test public void testFromEntityWithFullEntity() { FactCommentEntity entity = new FactCommentEntity() .setId(UUID.randomUUID()) .setReplyToID(UUID.randomUUID()) .setOriginID(UUID.randomUUID()) .setComment("Hello World!") .setTimestamp(123456789L); FactCommentRecord record = converter.fromEntity(entity); assertNotNull(record); assertEquals(entity.getId(), record.getId()); assertEquals(entity.getReplyToID(), record.getReplyToID()); assertEquals(entity.getOriginID(), record.getOriginID()); assertEquals(entity.getComment(), record.getComment()); assertEquals(entity.getTimestamp(), record.getTimestamp()); }