METHOD_0 ( ) { METHOD_1 ( METHOD_2 ( METHOD_3 ( STRING_0 ) ) . METHOD_4 ( METHOD_5 ( ) . METHOD_6 ( 200 ) ) ) ; java . lang . IDENT_0 IDENT_1 = com . flow . platform . IDENT_2 . test . IDENT_3 . class . METHOD_7 ( ) ; java . net . URL resource = IDENT_1 . getResource ( STRING_1 ) ; java . nio . file . Path path = java . nio . file . IDENT_4 . get ( resource . METHOD_8 ( ) ) ; boolean result = IDENT_5 . METHOD_9 ( STRING_2 , path ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String , java . nio . file . Path ) { if ( ! ( com . flow . platform . IDENT_2 . IDENT_6 . METHOD_10 ( ) ) ) { log . trace ( STRING_3 ) ; return true ; } org . apache . http . IDENT_7 entity = org . apache . http . entity . IDENT_8 . IDENT_9 . create ( ) . METHOD_11 ( STRING_4 , new org . apache . http . entity . IDENT_8 . content . METHOD_12 ( path . METHOD_13 ( ) , org . apache . http . entity . IDENT_10 . create ( STRING_5 ) ) ) . METHOD_11 ( STRING_6 , new org . apache . http . entity . IDENT_8 . content . METHOD_14 ( IDENT_11 , org . apache . http . entity . IDENT_10 . create ( STRING_7 , IDENT_12 . UTF_8 ) ) ) . METHOD_15 ( IDENT_10 . IDENT_13 ) . build ( ) ; java . lang . String url = com . flow . platform . IDENT_2 . IDENT_6 . METHOD_16 ( ) . METHOD_17 ( ) ; com . flow . platform . util . http . IDENT_14 < java . lang . String > response = com . flow . platform . util . http . IDENT_15 . build ( url ) . METHOD_2 ( entity ) . METHOD_18 ( 5 ) . METHOD_19 ( ) ; if ( ! ( response . METHOD_20 ( ) ) ) { log . warn ( STRING_8 , url ) ; return false ; } log . trace ( STRING_9 , path ) ; return true ; }
org . junit . Assert . assertTrue ( result )