METHOD_0 ( ) { final java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; final org . apache . hc . core5 . http . io . IDENT_1 IDENT_2 = new org . apache . hc . core5 . http . impl . io . METHOD_1 ( 16 ) ; final java . io . IDENT_3 out = new org . apache . hc . core5 . http . impl . io . METHOD_2 ( IDENT_2 , IDENT_0 , INT_0 ) ; final byte [ ] IDENT_4 = new byte [ 10 ] ; out . write ( IDENT_4 , 0 , 10 ) ; out . write ( 1 ) ; out . write ( IDENT_4 , 0 , 10 ) ; out . write ( IDENT_4 , 0 , 10 ) ; out . write ( IDENT_4 ) ; out . write ( 1 ) ; out . write ( 2 ) ; out . METHOD_3 ( ) ; out . close ( ) ; final byte [ ] data = IDENT_0 . toByteArray ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { final java . nio . ByteBuffer IDENT_5 = this . buf . METHOD_4 ( ) ; IDENT_5 . METHOD_5 ( ) ; final byte [ ] bytes = new byte [ IDENT_5 . METHOD_6 ( ) ] ; IDENT_5 . get ( bytes ) ; return bytes ; }
org . junit . Assert . assertEquals ( 15 , data . length )