assertFalse(callback.isVerified());
}
@Test
public void testInvalidResponse() throws Exception {
CertificateVerificationCallback callback = getCallback();
byte[] bytes = String.format("X%nY%n").getBytes(
Charsets.US_ASCII.name());
System.setIn(new ByteArrayInputStream(bytes));
handler.handle(new Callback[] { callback });
assertTrue(callback.isVerified());
}