@Test
public void wrongExchange() throws Exception {

    ClientCertAuthenticator auth = new ClientCertAuthenticator(getConfig());
    Authenticator.Result result = auth.authenticate(createHttpExchange(new Headers()));
    assertTrue(result instanceof Authenticator.Failure);
}