Mockito.doReturn(repo()).when(pull).repo();
final RtPullComments comments =
new RtPullComments(new ApacheRequest(container.home()), pull);
try {
comments.remove(2);
final MkQuery query = container.take();
MatcherAssert.assertThat(
query.method(), Matchers.equalTo(Request.DELETE)
);
MatcherAssert.assertThat(
query.uri().toString(),
Matchers.endsWith("/repos/johnny/test/pulls/comments/2")
);
} finally {
container.stop();
}