METHOD_0 ( ) { System . out . println ( STRING_0 ) ; cache . METHOD_1 ( tree ) ; try { "<AssertPlaceHolder>" ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( e . getMessage ( ) ) ; } METHOD_2 ( java . lang . String , java . lang . String , java . lang . String ) { if ( tree . get ( IDENT_0 ) . get ( IDENT_1 ) . contains ( IDENT_2 ) ) { com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( ( ( STRING_1 3 + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_2 ) + IDENT_2 ) + STRING_1 8 ) ) ; return true ; } com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( ( ( ( STRING_1 4 + STRING_3 ) + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_2 ) + IDENT_2 ) + STRING_1 8 ) ) ; java . lang . String IDENT_8 = STRING_1 7 + IDENT_1 ; java . util . ArrayList < org . apache . http . IDENT_9 > headers = new java . util . ArrayList ( ) ; headers . add ( new org . apache . http . message . METHOD_3 ( STRING_1 1 , IDENT_10 ) ) ; com . IDENT_3 . iot . IDENT_4 . IDENT_5 . http . IDENT_11 res = METHOD_4 ( STRING_4 , IDENT_8 , true , headers , null ) ; switch ( res . getStatusCode ( ) ) { case 200 : com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( STRING_5 + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_1 8 ) ) ; org . json . simple . JSONObject result = ( ( org . json . simple . JSONObject ) ( res . METHOD_5 ( ) . get ( STRING_6 ) ) ) ; org . json . simple . IDENT_12 resources = ( ( org . json . simple . IDENT_12 ) ( result . get ( STRING_7 ) ) ) ; if ( resources . isEmpty ( ) ) { return false ; } else { com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( STRING_1 5 + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_1 8 ) ) ; METHOD_6 ( resources , IDENT_0 , IDENT_1 , true ) ; if ( tree . get ( IDENT_0 ) . get ( IDENT_1 ) . contains ( IDENT_2 ) ) { com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( ( ( ( STRING_8 + STRING_3 ) + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_2 ) + IDENT_2 ) + STRING_1 8 ) ) ; return true ; } else { com . IDENT_3 . iot . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 . LOGGER . debug ( ( ( ( ( ( ( ( STRING_1 + STRING_3 ) + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_2 ) + IDENT_2 ) + STRING_1 8 ) ) ; return false ; } } case INT_0 : return false ; default : throw new com . IDENT_3 . iot . IDENT_4 . errors . METHOD_7 ( ( ( ( ( ( ( ( ( ( STRING_9 + STRING_1 0 ) + IDENT_0 ) + STRING_1 6 ) + IDENT_1 ) + STRING_2 ) + IDENT_2 ) + STRING_1 2 ) + ( res . getStatusCode ( ) ) ) + STRING_1 8 ) ) ; }
org . junit . Assert . assertTrue ( cache . METHOD_2 ( IDENT_0 , IDENT_1 , IDENT_2 ) )