METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . io . IDENT_1 IDENT_2 = new java . io . METHOD_1 ( IDENT_0 ) ; javax . json . IDENT_3 IDENT_4 = javax . json . IDENT_5 . METHOD_2 ( IDENT_2 ) ; javax . json . IDENT_6 IDENT_7 = IDENT_4 . METHOD_3 ( ) ; java . lang . String key = STRING_1 ; javax . json . IDENT_8 IDENT_9 = IDENT_7 . METHOD_4 ( key ) ; java . lang . String expResult = STRING_2 ; java . lang . String result = com . microsoft . azure . sdk . iot . IDENT_10 . service . IDENT_11 . METHOD_5 ( IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( javax . json . IDENT_8 ) { java . lang . String IDENT_12 ; if ( IDENT_0 == null ) { IDENT_12 = "" ; } else { IDENT_12 = IDENT_0 . toString ( ) ; if ( IDENT_12 . startsWith ( STRING_3 ) ) { IDENT_12 = IDENT_12 . METHOD_6 ( STRING_3 , "" ) ; } if ( IDENT_12 . METHOD_7 ( STRING_3 ) ) { IDENT_12 = IDENT_12 . substring ( 0 , ( ( IDENT_12 . length ( ) ) - 1 ) ) ; } } return IDENT_12 ; }
org . junit . Assert . assertEquals ( expResult , result )