METHOD_0 ( ) { org . kaazing . IDENT_0 . IDENT_1 helper = org . kaazing . IDENT_0 . IDENT_1 . newInstance ( ) ; java . net . URI location = java . net . URI . create ( STRING_0 ) ; org . kaazing . IDENT_0 . ws . IDENT_2 connection = ( ( org . kaazing . IDENT_0 . ws . IDENT_2 ) ( helper . METHOD_1 ( location ) ) ) ; java . io . IDENT_3 out = connection . METHOD_2 ( ) ; java . io . InputStream in = connection . METHOD_3 ( ) ; byte [ ] IDENT_4 = new byte [ INT_0 ] ; random . METHOD_4 ( IDENT_4 ) ; out . write ( IDENT_4 ) ; byte [ ] IDENT_5 = new byte [ INT_0 ] ; int offset = 0 ; int length = IDENT_5 . length ; int IDENT_6 = 0 ; while ( ( IDENT_6 != ( - 1 ) ) && ( length > 0 ) ) { IDENT_6 = in . read ( IDENT_5 , offset , length ) ; if ( IDENT_6 != ( - 1 ) ) { offset += IDENT_6 ; length OP_0 IDENT_6 ; } } IDENT_7 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } read ( byte [ ] , int , int ) { return input . read ( b , IDENT_8 , len ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_4 , IDENT_5 )