@Test
public void saveAll_HappyPath_ShouldSave2Comments() {

    // Given
    Comment comment = new Comment();
    comment.setComment("Test Plus");
    comment.setType(CommentType.PLUS);
    comment.setCreatedBy("Shazin");
    comment.setCreatedDate(new Timestamp(System.currentTimeMillis()));
    Comment comment2 = new Comment();
    comment2.setComment("Test Star");
    comment2.setType(CommentType.STAR);
    comment2.setCreatedBy("Shahim");
    comment2.setCreatedDate(new Timestamp(System.currentTimeMillis()));
    List<Comment> comments = Arrays.asList(comment, comment2);
    when(commentRepository.saveAll(comments)).thenReturn(comments);
    // When
    List<Comment> saved = commentService.saveAll(comments);
    // Then
    assertThat(saved).isNotEmpty();
    verify(commentRepository, times(1)).saveAll(comments);
}