InputStream in=c.getInputStream();
try {
if (!isPositiveTest()) {
throw new AssertionFailedError("Expected SSLHandshakeException, did not get!");
}
<BUG>Assert.assertEquals(getExpectedResponse(), slurp(in));
}</BUG>
finally {
in.close();
}

InputStream in=c.getInputStream();
try {
if (!isPositiveTest()) {
throw new AssertionFailedError("Expected SSLHandshakeException, did not get!");
}
Assert.assertEquals(getExpectedResponse(), slurp(in));
if (hasBuilder) {
Assert.assertTrue("Received chain", receivedChain);
}
}
finally {
in.close();
