	@Test
	public void deleteComment() throws IOException {

		when(mockIssue.getComments(repositoryId, prNum))
				.thenReturn(Collections.singletonList(new Comment().setId(1).setBody("test")
						.setUser(new User().setId(1))));
		doNothing().when(mockIssue)
				.deleteComment(repositoryId, 1);

		GithubCommentManager manager = new GithubCommentManager(mockIssue, repositoryId, prNum);


		assertEquals(1, manager.deleteComment(c -> c.getBody().equals("test")));
	}