METHOD_0 ( ) { final java . lang . String message = STRING_0 ; IDENT_0 = new IDENT_1 . IDENT_2 . IDENT_3 . http . support . METHOD_1 ( IDENT_4 , IDENT_5 ) { @ IDENT_1 . IDENT_2 . IDENT_3 . http . support . Override MOD_0 IDENT_1 . IDENT_2 . IDENT_3 . model . resource . IDENT_6 . IDENT_7 METHOD_2 ( ) { return new IDENT_1 . IDENT_2 . IDENT_3 . model . resource . IDENT_6 . METHOD_3 ( ) { @ IDENT_1 . IDENT_2 . IDENT_3 . http . support . Override public java . io . InputStream METHOD_4 ( final java . lang . String uri ) throws java . io . IOException { return new java . io . ByteArrayInputStream ( message . getBytes ( ) ) ; } } ; } } ; IDENT_0 . METHOD_5 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { try { IDENT_1 . IDENT_2 . IDENT_3 . http . support . METHOD_1 . LOG . debug ( STRING_2 , location ) ; final java . io . InputStream is = IDENT_8 . METHOD_4 ( location ) ; org . apache . commons . io . IDENT_9 . METHOD_6 ( is , IDENT_10 ) ; is . close ( ) ; IDENT_10 . close ( ) ; } catch ( final java . io . IOException e ) { IDENT_1 . IDENT_2 . IDENT_3 . http . support . METHOD_1 . LOG . warn ( STRING_3 , e . getClass ( ) . getName ( ) , location ) ; throw e ; } }
org . junit . Assert . assertEquals ( message , new java . lang . String ( IDENT_4 . toByteArray ( ) ) )