* @throws Exception when a problem occurs.
*/
@Test
public void canGetCommentsNumberIfNonZero() throws Exception {
final Repo repo = MkPullTest.repo();
final Pull pull = repo.pulls().create("", "", "");
pull.comments().post("comment1", "path1", "how are you?", 1);
pull.comments().post("comment2", "path2", "how are you2?", 2);
MatcherAssert.assertThat(
pull.json().getInt("comments"),
Matchers.is(2)
);
}