### Question:
IssueManager { @Transactional(propagation = Propagation.REQUIRED) public IssueComment deleteComment(Long issueId, Long commentId) { loadIssueAndCheckIfNotClosed(issueId); Optional<IssueComment> comment = commentDao.loadComment(commentId); comment.ifPresent(loadedComment -> { validateIssueId(issueId, loadedComment); attachmentFileManager.deleteAttachments(attachmentDao.loadAttachmentsByCommentIds( Collections.singletonList(commentId)).getOrDefault(commentId, Collections.emptyList())); commentDao.deleteComment(commentId); }); return comment.orElseThrow(getCommentNotFoundException(commentId)); }  @Transactional(propagation = Propagation.REQUIRED) Issue createIssue(IssueVO issueVO); Issue loadIssue(Long id); PagedResult<List<Issue>> loadMy(Long page, Integer pageSize); List<Issue> loadIssuesForEntity(EntityVO entityVO); @Transactional(propagation = Propagation.REQUIRED) Issue updateIssue(Long issueId, IssueVO issueVO); @Transactional(propagation = Propagation.REQUIRED) Issue deleteIssue(Long issueId); @Transactional(propagation = Propagation.REQUIRED) List<Issue> deleteIssuesForEntity(EntityVO entity); @Transactional(propagation = Propagation.REQUIRED) IssueComment createComment(Long issueId, IssueCommentVO commentVO); IssueComment loadComment(Long issueId, Long commentId); @Transactional(propagation = Propagation.REQUIRED) IssueComment updateComment(Long issueId, Long commentId, IssueCommentVO commentVO); @Transactional(propagation = Propagation.REQUIRED) IssueComment deleteComment(Long issueId, Long commentId);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testDeleteComment() { IssueComment comment = registerComment(); Long issueId = comment.getIssueId(); Long commentId = comment.getId(); issueManager.deleteComment(issueId, commentId); issueManager.loadComment(issueId, commentId); }