public void test_wrap_06(){
  String host="new host";
  int port=8080;
  ByteBuffer bb=ByteBuffer.allocate(10);
  ByteBuffer[] bbA={ByteBuffer.allocate(5),ByteBuffer.allocate(10),ByteBuffer.allocate(5)};
  SSLEngine sse=getEngine(host,port);
  sse.setUseClientMode(true);
  try {
    sse.wrap(bbA,0,bbA.length,bb);
  }
 catch (  Exception ex) {
    fail("Unexpected exception: " + ex);
  }
}

public void test_wrap_06 ( ) { String host = "new host" ; int port = 8080 ; ByteBuffer bb = ByteBuffer . allocate ( 10 ) ; ByteBuffer [ ] bbA = { ByteBuffer . allocate ( 5 ) , ByteBuffer . allocate ( 10 ) , ByteBuffer . allocate ( 5 ) } ; SSLEngine sse = getEngine ( host , port ) ; sse . setUseClientMode ( true ) ; try { sse . wrap ( bbA , 0 , bbA . length , bb ) ; } catch ( Exception ex ) { fail ( "Unexpected exception: " + ex ) ; } }
javax . net . ssl . sslengine # wrap ( bytebuffer [ ] srcs , int offset , int length , bytebuffer dst )
