METHOD_0 ( ) { final com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_1 IDENT_2 = com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_1 . IDENT_3 ; new IDENT_4 . METHOD_1 ( ) { { IDENT_5 . METHOD_2 ( ) ; result = STRING_0 ; IDENT_5 . METHOD_3 ( ) ; result = IDENT_6 ; IDENT_6 . METHOD_4 ( ) ; result = IDENT_2 . name ( ) ; IDENT_6 . METHOD_5 ( ) ; result = IDENT_5 ; } } ; com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_7 conn = new com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . METHOD_6 ( IDENT_5 , IDENT_2 ) ; byte [ ] IDENT_8 = "test" . getBytes ( ) ; conn . METHOD_7 ( IDENT_8 ) ; byte [ ] actual = IDENT_4 . IDENT_9 . invoke ( conn , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( byte [ ] ) { com . microsoft . azure . sdk . iot . service . transport . http . IDENT_10 method = com . microsoft . azure . sdk . iot . service . transport . http . IDENT_10 . valueOf ( this . connection . METHOD_4 ( ) ) ; if ( ( method != ( IDENT_10 . IDENT_3 ) ) && ( method != ( IDENT_10 . IDENT_11 ) ) ) { if ( ( body . length ) > 0 ) { throw new java . lang . IllegalArgumentException ( ( STRING_2 + STRING_3 ) ) ; } } else { this . body = java . util . Arrays . METHOD_8 ( body , body . length ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_8 , actual )