METHOD_0 ( com . microsoft . azure . sdk . iot . service . transport . http . IDENT_0 , java . net . URL ) { final java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_1 = new java . util . HashMap ( ) ; final java . lang . String field = STRING_0 ; final java . util . List < java . lang . String > values = new java . util . METHOD_1 ( ) ; final java . lang . String value = STRING_1 ; values . add ( value ) ; IDENT_1 . put ( field , values ) ; final com . microsoft . azure . sdk . iot . service . transport . http . IDENT_2 IDENT_3 = com . microsoft . azure . sdk . iot . service . transport . http . IDENT_2 . IDENT_4 ; final byte [ ] body = new byte [ 0 ] ; final java . lang . String IDENT_5 = value ; new tests . unit . com . microsoft . azure . sdk . iot . service . transport . http . METHOD_2 ( ) { { IDENT_6 . METHOD_3 ( ) ; result = STRING_2 ; IDENT_7 . connect ( ) ; result = new java . io . IOException ( ) ; IDENT_7 . METHOD_4 ( ) ; result = IDENT_1 ; } } ; com . microsoft . azure . sdk . iot . service . transport . http . IDENT_8 request = new com . microsoft . azure . sdk . iot . service . transport . http . METHOD_5 ( IDENT_6 , IDENT_3 , body ) ; com . microsoft . azure . sdk . iot . service . transport . http . IDENT_9 response = request . METHOD_6 ( ) ; java . lang . String IDENT_10 = response . METHOD_7 ( field ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String ) { java . lang . String IDENT_11 = com . microsoft . azure . sdk . iot . service . transport . http . IDENT_9 . METHOD_8 ( field ) ; java . lang . String values = this . IDENT_1 . get ( IDENT_11 ) ; if ( values == null ) { java . lang . String IDENT_12 = java . lang . String . format ( ( STRING_3 + STRING_4 ) , field ) ; throw new java . lang . IllegalArgumentException ( IDENT_12 ) ; } return values ; }
org . junit . Assert . assertThat ( IDENT_10 , org . hamcrest . CoreMatchers . is ( IDENT_5 ) )