when(bindingResult.hasErrors()).thenReturn(false);
when(codeReviewCommentService.updateComment(anyLong(), anyString(), anyLong()))
.thenReturn(createComment());
JsonResponse response = controller.editComment(
new CodeReviewCommentDto(), bindingResult, BRANCH_ID);
CodeReviewCommentDto dto = (CodeReviewCommentDto) response.getResult();
assertEquals(response.getStatus(), JsonResponseStatus.SUCCESS);
assertEquals(dto.getId(), COMMENT_ID);
assertEquals(dto.getBody(), COMMENT_BODY);
assertEquals(dto.getLineNumber(), COMMENT_LINE_NUMBER);
assertEquals(dto.getAuthorId(), USER_ID);
assertEquals(dto.getAuthorUsername(), USERNAME);
verifyZeroInteractions(notificationService);
}