src/test/java/com/jcabi/github/mock/MkMilestonesTest.java
/**
     * This tests that the iterate(Map<String, String> params)
     * method in MkMilestones works fine.
     * @throws Exception - if something goes wrong.
     */
This tests that the iterate(Map params)
method in MkMilestones works fine.
@throws Exception - if something goes wrong.
This tests that the iterate ( Map params ) method in MkMilestones works fine . @throws Exception - if something goes wrong .
@Test
    public void iteratesMilestones() throws Exception {
        final Milestones milestones = this.repo().milestones();
        milestones.create("testMilestone");
        MatcherAssert.assertThat(
            milestones.iterate(new ArrayMap<String, String>()),
            Matchers.<Milestone>iterableWithSize(1)
        );
    }
@ Test public void iteratesMilestones ( ) throws Exception { final Milestones milestones = this . repo ( ) . milestones ( ) ; milestones . create ( "testMilestone" ) ; MatcherAssert . assertThat ( milestones . iterate ( new ArrayMap < String , String > ( ) ) , Matchers . < Milestone > iterableWithSize ( 1 ) ) ; }
This tests that the iterate(Map<String, String> params)
 method in MkMilestones works fine.
This tests that the iterate ( Map<String String > params ) method in MkMilestones works fine .