@Test
public void getCommentTest() {

    Optional<Comment> commentOpt = manager.getComment(comment1.getResource());
    assertTrue(commentOpt.isPresent());
    Comment comment = commentOpt.get();
    assertEquals(comment1.getModel(), comment.getModel());
    verify(utilsService).optObject(eq(comment1.getResource()), any(CommentFactory.class), any(RepositoryConnection.class));
}