Commands { RequestBuilder getResetP2PSecretKey( String p2pHash, String newSecretKey, long ttlSeconds ) { return new RequestBuilder( P2P_BINDING ) .withCmdArgs( "set", "-key", newSecretKey, "-ttl", String.valueOf( ttlSeconds ), "-hash", p2pHash ); }    }
@Test public void testGetResetP2PSecretKey() throws Exception { assertNotNull( commands.getResetP2PSecretKey( P2P_HASH, SECRET_KEY, Common.DEFAULT_P2P_SECRET_KEY_TTL_SEC ) ); }