src/test/java/com/jcabi/github/mock/MkIssueTest.java
/**
     * MkIssue can remember it's author.
     *
     * @throws Exception when a problem occurs.
     */
MkIssue can remember it's author.
@throws Exception when a problem occurs.
MkIssue can remember it ' s author . @throws Exception when a problem occurs .
@Test
    public void canRememberItsAuthor() throws Exception {
        final MkGithub first = new MkGithub("first");
        final Github second = first.relogin("second");
        final Repo repo = first.repos().create(
            Json.createObjectBuilder().add("name", "test").build()
        );
        final int number = second.repos()
            .get(repo.coordinates())
            .issues()
            .create("", "")
            .number();
        final Issue issue = first.repos()
            .get(repo.coordinates())
            .issues()
            .get(number);
        MatcherAssert.assertThat(
            new Issue.Smart(issue).author().login(),
            Matchers.is("second")
        );
    }
@ Test public void canRememberItsAuthor ( ) throws Exception { final MkGithub first = new MkGithub ( "first" ) ; final Github second = first . relogin ( "second" ) ; final Repo repo = first . repos ( ) . create ( Json . createObjectBuilder ( ) . add ( "name" , "test" ) . build ( ) ) ; final int number = second . repos ( ) . get ( repo . coordinates ( ) ) . issues ( ) . create ( "" , "" ) . number ( ) ; final Issue issue = first . repos ( ) . get ( repo . coordinates ( ) ) . issues ( ) . get ( number ) ; MatcherAssert . assertThat ( new Issue . Smart ( issue ) . author ( ) . login ( ) , Matchers . is ( "second" ) ) ; }
MkIssue can remember it's author.
MkIssue can remember it ' s author .