@Test
public void authenticate() throws Exception{

    assertTrue(sshAuth.authenticate(clientInfoOk).isAuthenticated());
    assertFalse(sshAuth.authenticate(clientInfoError).isAuthenticated());
    assertFalse(sshAuth.authenticate(new DSAPublicKey()).isAuthenticated());
}