METHOD_0 ( ) { init ( ) ; com . microsoft . azure . sdk . iot . IDENT_0 . ws . impl . IDENT_1 IDENT_2 = new com . microsoft . azure . sdk . iot . IDENT_0 . ws . impl . METHOD_1 ( ) ; com . microsoft . azure . sdk . iot . IDENT_0 . ws . impl . METHOD_1 IDENT_3 = mock ( IDENT_2 . getClass ( ) ) ; com . microsoft . azure . sdk . iot . IDENT_0 . ws . impl . IDENT_4 IDENT_5 = new com . microsoft . azure . sdk . iot . IDENT_0 . ws . impl . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( IDENT_6 , IDENT_7 , IDENT_8 , IDENT_9 , IDENT_10 , IDENT_3 ) ; java . nio . ByteBuffer IDENT_11 = java . nio . ByteBuffer . METHOD_4 ( INT_0 ) ; IDENT_11 . METHOD_5 ( ) ; IDENT_11 . put ( STRING_0 . getBytes ( ) ) ; IDENT_11 . METHOD_6 ( ) ; java . nio . ByteBuffer IDENT_12 = java . nio . ByteBuffer . METHOD_4 ( INT_0 ) ; IDENT_12 . put ( STRING_1 . getBytes ( ) ) ; IDENT_5 . IDENT_13 = false ; IDENT_5 . METHOD_7 ( IDENT_11 , IDENT_12 ) ; IDENT_12 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , times ( 0 ) ) . METHOD_7 ( ( ( java . nio . ByteBuffer ) ( any ( ) ) ) , ( ( java . nio . ByteBuffer ) ( any ( ) ) ) ) ; } METHOD_7 ( java . nio . ByteBuffer , java . nio . ByteBuffer ) { if ( ( IDENT_11 == null ) || ( IDENT_12 == null ) ) { throw new java . lang . IllegalArgumentException ( STRING_2 ) ; } if ( ( IDENT_11 . METHOD_8 ( ) ) > 0 ) { final byte [ ] IDENT_14 = METHOD_9 ( ) ; final int IDENT_15 = IDENT_11 . METHOD_8 ( ) ; java . io . ByteArrayOutputStream IDENT_16 = new java . io . ByteArrayOutputStream ( ( ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_18 ) + IDENT_15 ) ) ; byte IDENT_19 = ( ( byte ) ( ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_20 ) | ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_21 ) ) ) ; IDENT_16 . write ( IDENT_19 ) ; byte IDENT_22 = com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_23 ; if ( IDENT_15 <= ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_24 ) ) { IDENT_22 = ( ( byte ) ( IDENT_22 | IDENT_15 ) ) ; IDENT_16 . write ( IDENT_22 ) ; } else if ( IDENT_15 <= ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_25 ) ) { IDENT_22 = ( ( byte ) ( IDENT_22 | ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_26 ) ) ) ; IDENT_16 . write ( IDENT_22 ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > 8 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 ) ) ) ; } else { IDENT_22 = ( ( byte ) ( IDENT_22 | ( com . microsoft . azure . sdk . iot . IDENT_0 . ws . IDENT_17 . IDENT_27 ) ) ) ; IDENT_16 . write ( IDENT_22 ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > INT_1 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > INT_2 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > INT_3 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > INT_4 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > INT_5 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > 16 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 > > > 8 ) ) ) ; IDENT_16 . write ( ( ( byte ) ( IDENT_15 ) ) ) ; } IDENT_16 . write ( IDENT_14 [ 0 ] ) ; IDENT_16 . write ( IDENT_14 [ 1 ] ) ; IDENT_16 . write ( IDENT_14 [ 2 ] ) ; IDENT_16 . write ( IDENT_14 [ 3 ] ) ; for ( int i = 0 ; i < IDENT_15 ; i ++ ) { byte IDENT_28 = IDENT_11 . get ( ) ; IDENT_28 OP_0 IDENT_14 [ ( i OP_1 4 ) ] ; IDENT_16 . write ( IDENT_28 ) ; } IDENT_12 . METHOD_5 ( ) ; if ( ( IDENT_12 . METHOD_10 ( ) ) >= ( IDENT_16 . size ( ) ) ) { IDENT_12 . put ( IDENT_16 . toByteArray ( ) ) ; } else { throw new java . lang . METHOD_11 ( STRING_3 ) ; } } else { IDENT_12 . METHOD_5 ( ) ; } }
org . junit . Assert . assertTrue ( java . util . Arrays . equals ( IDENT_11 . array ( ) , IDENT_12 . array ( ) ) )