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 ) ; org . apache . IDENT_11 . IDENT_12 . engine . impl . IDENT_13 IDENT_14 = mock ( org . apache . IDENT_11 . IDENT_12 . engine . impl . IDENT_13 . class ) ; org . apache . IDENT_11 . IDENT_12 . engine . impl . IDENT_15 IDENT_16 = mock ( org . apache . IDENT_11 . IDENT_12 . engine . impl . IDENT_15 . class ) ; org . apache . IDENT_11 . IDENT_12 . engine . impl . IDENT_17 IDENT_18 = IDENT_5 . METHOD_4 ( IDENT_14 , IDENT_16 ) ; java . lang . String message = STRING_0 ; java . nio . ByteBuffer IDENT_19 = IDENT_5 . METHOD_5 ( ) ; IDENT_19 . METHOD_6 ( ) ; IDENT_19 . put ( message . getBytes ( ) ) ; IDENT_5 . IDENT_20 = true ; IDENT_18 . METHOD_7 ( ) ; int actual = IDENT_18 . position ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_14 , times ( 0 ) ) . position ( ) ; } position ( ) { if ( IDENT_20 ) { if ( IDENT_21 ) { return org . apache . IDENT_11 . IDENT_12 . engine . IDENT_22 . IDENT_23 ; } else { return IDENT_24 . position ( ) ; } } else { return IDENT_25 . position ( ) ; } }
org . junit . Assert . assertTrue ( ( ( org . apache . IDENT_11 . IDENT_12 . engine . IDENT_22 . IDENT_23 ) == actual ) )