question: public void test_wrap_ByteBuffer_ByteBuffer_05 ( ) { String host = "new host" ; int port = 8080 ; ByteBuffer bb = ByteBuffer . allocate ( 10 ) ; SSLEngine sse = getEngine ( host , port ) ; sse . setUseClientMode ( true ) ; try { SSLEngineResult res = sse . wrap ( bb , ByteBuffer . allocate ( 10 ) ) ; assertEquals ( 0 , res . bytesConsumed ( ) ) ; assertEquals ( 0 , res . bytesProduced ( ) ) ; } catch ( Exception e ) { fail ( "Unexpected exception: " + e ) ; } }
target:  javax.net.ssl.SSLEngine#wrap(ByteBuffer src, ByteBuffer dst)