src/test/java/com/jcabi/github/mock/MkDeployKeysTest.java
/**
     * MkDeployKeys can fetch a single deploy key.
     * @throws Exception If some problem inside
     */
MkDeployKeys can fetch a single deploy key.
@throws Exception If some problem inside
MkDeployKeys can fetch a single deploy key . @throws Exception If some problem inside
@Test
    public void canFetchSingleDeployKey() throws Exception {
        final DeployKeys keys = MkDeployKeysTest.repo().keys();
        final DeployKey key = keys.create("Title", "Key");
        MatcherAssert.assertThat(keys.get(key.number()), Matchers.equalTo(key));
    }
@ Test public void canFetchSingleDeployKey ( ) throws Exception { final DeployKeys keys = MkDeployKeysTest . repo ( ) . keys ( ) ; final DeployKey key = keys . create ( "Title" , "Key" ) ; MatcherAssert . assertThat ( keys . get ( key . number ( ) ) , Matchers . equalTo ( key ) ) ; }
MkDeployKeys can fetch a single deploy key.
MkDeployKeys can fetch a single deploy key .