Package com.jcabi.github

Examples of com.jcabi.github.Fork


     * MkFork can fetch as json object.
     * @throws Exception if any problem inside
     */
    @Test
    public void fetchAsJson() throws Exception {
        final Fork fork = forks().create("fork");
        MatcherAssert.assertThat(
            fork.json().toString(),
            Matchers.containsString("{")
        );
    }
View Full Code Here


     * @throws Exception If some problem inside
     */
    @Test
    public void iteratesForks() throws Exception {
        final Repo repo = this.repo();
        final Fork fork = repo.forks().create("Organization");
        final Iterable<Fork> iterate = repo.forks().iterate("Order");
        MatcherAssert.assertThat(
            iterate,
            Matchers.<Fork>iterableWithSize(1)
        );
View Full Code Here

TOP

Related Classes of com.jcabi.github.Fork

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.