assertEquals("Unexpected status of operation:",
SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING,
result.getHandshakeStatus());
assertEquals(
"The length of the consumed data differs from expected",
0, result.bytesConsumed());
assertEquals(
"The length of the produced data differs from expected",
0, result.bytesProduced());
// it's needless, but should work: