src/test/java/com/jcabi/github/mock/MkReferencesTest.java
/**
     * MkReferences can iterate over references in Tagsub-namespace.
     * @throws Exception - If something goes wrong.
     */
MkReferences can iterate over references in Tagsub-namespace.
@throws Exception - If something goes wrong.
MkReferences can iterate over references in Tagsub - namespace . @throws Exception - If something goes wrong .
@Test
    public void iteratesTags() throws Exception {
        final Repo owner = this.repo();
        final References refs = owner.git().references();
        refs.create("refs/tags/t2", "2322f34");
        MatcherAssert.assertThat(
            refs.tags(),
            Matchers.<Reference>iterableWithSize(1)
        );
    }
@ Test public void iteratesTags ( ) throws Exception { final Repo owner = this . repo ( ) ; final References refs = owner . git ( ) . references ( ) ; refs . create ( "refs/tags/t2" , "2322f34" ) ; MatcherAssert . assertThat ( refs . tags ( ) , Matchers . < Reference > iterableWithSize ( 1 ) ) ; }
MkReferences can iterate over references in Tagsub-namespace.
MkReferences can iterate over references in Tagsub - namespace .