METHOD_0 ( ) { io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . info ( STRING_0 ) ; java . lang . String IDENT_3 = this . getClass ( ) . getResource ( STRING_1 ) . METHOD_1 ( ) ; java . io . File input = new java . io . File ( IDENT_3 ) ; org . apache . commons . IDENT_4 . methods . IDENT_5 put = new org . apache . commons . IDENT_4 . methods . METHOD_2 ( io . IDENT_0 . IDENT_1 . rest . IDENT_2 . IDENT_6 ) ; org . apache . commons . IDENT_4 . methods . IDENT_7 entity = new org . apache . commons . IDENT_4 . methods . METHOD_3 ( input , STRING_2 ) ; put . METHOD_4 ( entity ) ; org . apache . commons . IDENT_4 . IDENT_8 IDENT_4 = new org . apache . commons . IDENT_4 . METHOD_5 ( ) ; int result = 0 ; try { result = IDENT_4 . METHOD_6 ( put ) ; io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . info ( ( STRING_3 + result ) ) ; io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . info ( STRING_4 ) ; io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . info ( put . METHOD_7 ( ) ) ; } catch ( java . io . IOException e ) { io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . error ( STRING_5 , io . IDENT_0 . IDENT_1 . rest . IDENT_2 . IDENT_6 ) ; io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . error ( STRING_6 ) ; io . IDENT_0 . IDENT_1 . rest . IDENT_2 . LOG . error ( STRING_7 ) ; org . junit . Assert . fail ( STRING_8 ) ; } finally { put . METHOD_8 ( ) ; } "<AssertPlaceHolder>" ; } fail ( java . lang . Throwable ) { super . METHOD_9 ( IDENT_9 ) ; }
org . junit . Assert . assertEquals ( result , 200 )