src/test/java/com/jcabi/github/mock/MkMilestonesTest.java
/**
     * This tests that MkMilestones can create a MkMilestone.
     * @throws Exception - if something goes wrong.
     */
This tests that MkMilestones can create a MkMilestone.
@throws Exception - if something goes wrong.
This tests that MkMilestones can create a MkMilestone . @throws Exception - if something goes wrong .
@Test
    public void createsMilestone() throws Exception {
        final Milestones milestones = this.repo().milestones();
        final Milestone milestone = milestones.create("test milestone");
        MatcherAssert.assertThat(milestone, Matchers.notNullValue());
        MatcherAssert.assertThat(
            milestones.create("another milestone"),
            Matchers.notNullValue()
        );
    }
@ Test public void createsMilestone ( ) throws Exception { final Milestones milestones = this . repo ( ) . milestones ( ) ; final Milestone milestone = milestones . create ( "test milestone" ) ; MatcherAssert . assertThat ( milestone , Matchers . notNullValue ( ) ) ; MatcherAssert . assertThat ( milestones . create ( "another milestone" ) , Matchers . notNullValue ( ) ) ; }
This tests that MkMilestones can create a MkMilestone.
This tests that MkMilestones can create a MkMilestone .