@Test
public void verifyConvertNotesToComments()
{

    List<TrackedEntityComment> comments = rnd.randomObjects( TrackedEntityComment.class, 10 );
    final List<Note> notes = notesConverterService.to( comments );
    for ( TrackedEntityComment comment : comments )
    {
        assertCommentValues( notes.stream().filter( n -> n.getNote().equals( comment.getUid() ) ).findFirst().get(),
            comment );
    }
}