METHOD_0 ( tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_1 ) { final byte [ ] body = new byte [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 } ; final int IDENT_2 = 200 ; final tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_3 status = tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_3 . METHOD_1 ( IDENT_2 ) ; new IDENT_4 . METHOD_2 ( ) { { new tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . METHOD_3 ( ( ( java . net . URL ) ( any ) ) , IDENT_5 . IDENT_6 , ( ( byte [ ] ) ( any ) ) , anyString ) ; result = IDENT_7 ; IDENT_7 . METHOD_4 ( ) ; result = IDENT_8 ; IDENT_8 . METHOD_5 ( ) ; result = body ; IDENT_8 . getStatus ( ) ; result = IDENT_2 ; } } ; tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_9 conn = new tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . METHOD_6 ( IDENT_10 ) ; conn . METHOD_7 ( IDENT_11 ) ; tests . unit . com . microsoft . azure . sdk . iot . device . transport . IDENT_0 . IDENT_3 IDENT_12 = conn . METHOD_8 ( IDENT_13 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( com . microsoft . azure . sdk . iot . device . transport . IDENT_14 . Message ) { MOD_0 ( IDENT_15 ) { if ( ( ( message == null ) || ( ( message . getBytes ( ) ) == null ) ) || ( ( ( ( message . METHOD_9 ( ) ) != ( com . microsoft . azure . sdk . iot . device . IDENT_16 . IDENT_17 ) ) && ( ( message . METHOD_9 ( ) ) != ( com . microsoft . azure . sdk . iot . device . IDENT_16 . IDENT_18 ) ) ) && ( ( message . getBytes ( ) . length ) == 0 ) ) ) { return IDENT_3 . IDENT_19 ; } if ( ( this . state ) == ( IDENT_20 . IDENT_21 ) ) { throw new java . lang . IllegalStateException ( STRING_4 ) ; } com . microsoft . azure . sdk . iot . device . transport . IDENT_14 . IDENT_3 result = IDENT_3 . IDENT_22 ; if ( ( message . METHOD_9 ( ) ) == ( com . microsoft . azure . sdk . iot . device . IDENT_16 . IDENT_18 ) ) { this . IDENT_23 . start ( ) ; this . IDENT_23 . METHOD_4 ( ( ( com . microsoft . azure . sdk . iot . device . transport . IDENT_14 . IDENT_24 ) ( message ) ) ) ; } else if ( ( message . METHOD_9 ( ) ) == ( com . microsoft . azure . sdk . iot . device . IDENT_16 . IDENT_17 ) ) { this . IDENT_25 . start ( ) ; this . IDENT_25 . METHOD_4 ( ( ( com . microsoft . azure . sdk . iot . device . transport . IDENT_14 . IDENT_24 ) ( message ) ) ) ; } else { this . IDENT_26 . METHOD_4 ( message ) ; } return result ; } }
org . junit . Assert . assertThat ( IDENT_12 , org . hamcrest . CoreMatchers . is ( status ) )