src/test/java/com/jcabi/github/mock/MkCommentTest.java
/**
     * Create a comment to work with.
     * @return Comment just created
     * @throws Exception If some problem inside
     */
Create a comment to work with.
@return Comment just created
@throws Exception If some problem inside
Create a comment to work with . @return Comment just created @throws Exception If some problem inside
private Comment comment() throws Exception {
        return new MkGithub().repos().create(
            Json.createObjectBuilder().add("name", "test").build()
        ).issues().create("hey", "how are you?").comments().post("what's up?");
    }
private Comment comment ( ) throws Exception { return new MkGithub ( ) . repos ( ) . create ( Json . createObjectBuilder ( ) . add ( "name" , "test" ) . build ( ) ) . issues ( ) . create ( "hey" , "how are you?" ) . comments ( ) . post ( "what's up?" ) ; }
Create a comment to work with.
Create a comment to work with .