assertEquals("Unexpected status of operation:",
SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING,
result.getHandshakeStatus());
assertEquals(
"The length of the consumed data differs from expected",
0, result.bytesConsumed());
assertTrue(
"The length of the produced data differs from expected",
result.bytesProduced() > 0);
assertTrue("Outbound should be closed.",