src/test/java/com/jcabi/github/mock/MkPullCommentTest.java
/**
     * Create and return pull comment to test.
     * @return PullComment
     * @throws Exception if any error inside
     */
Create and return pull comment to test.
@return PullComment
@throws Exception if any error inside
Create and return pull comment to test . @return PullComment @throws Exception if any error inside
private static PullComment comment() throws Exception {
        return new MkGithub()
            .repos()
            .create(Json.createObjectBuilder().add("name", "test").build())
            .pulls()
            .create("hello", "", "")
            .comments()
            .post("comment", "commit", "/", 1);
    }
private static PullComment comment ( ) throws Exception { return new MkGithub ( ) . repos ( ) . create ( Json . createObjectBuilder ( ) . add ( "name" , "test" ) . build ( ) ) . pulls ( ) . create ( "hello" , "" , "" ) . comments ( ) . post ( "comment" , "commit" , "/" , 1 ) ; }
Create and return pull comment to test.
Create and return pull comment to test .