src/test/java/com/jcabi/github/mock/MkHooksTest.java
/**
     * MkHooks can fetch single hook.
     * @throws Exception if some problem inside
     */
MkHooks can fetch single hook.
@throws Exception if some problem inside
MkHooks can fetch single hook . @throws Exception if some problem inside
@Test
    public void canFetchSingleHook() throws Exception {
        final Hooks hooks = MkHooksTest.repo().hooks();
        final Hook hook = hooks.create(
            "geocommit", Collections.<String, String>emptyMap()
        );
        MatcherAssert.assertThat(
            hooks.get(hook.number()),
            Matchers.notNullValue()
        );
    }
@ Test public void canFetchSingleHook ( ) throws Exception { final Hooks hooks = MkHooksTest . repo ( ) . hooks ( ) ; final Hook hook = hooks . create ( "geocommit" , Collections . < String , String > emptyMap ( ) ) ; MatcherAssert . assertThat ( hooks . get ( hook . number ( ) ) , Matchers . notNullValue ( ) ) ; }
MkHooks can fetch single hook.
MkHooks can fetch single hook .
// @checkstyle MultipleStringLiterals (1 line)