src/test/java/com/jcabi/github/mock/MkCommentTest.java
/**
     * MkComment can change body.
     * @throws Exception If some problem inside
     */
MkComment can change body.
@throws Exception If some problem inside
MkComment can change body . @throws Exception If some problem inside
@Test
    public void changesBody() throws Exception {
        final Comment comment = this.comment();
        new Comment.Smart(comment).body("hello, this is a new body");
        MatcherAssert.assertThat(
            new Comment.Smart(comment).body(),
            Matchers.startsWith("hello, this ")
        );
    }
@ Test public void changesBody ( ) throws Exception { final Comment comment = this . comment ( ) ; new Comment . Smart ( comment ) . body ( "hello, this is a new body" ) ; MatcherAssert . assertThat ( new Comment . Smart ( comment ) . body ( ) , Matchers . startsWith ( "hello, this " ) ) ; }
MkComment can change body.
MkComment can change body .