METHOD_0 ( ) { java . io . InputStream is = new java . io . InputStream ( ) { int IDENT_0 = 0 ; int [ ] data = new int [ ] { 1 , 2 , 3 , 4 , 5 , - 1 } ; @ org . apache . IDENT_1 . util . IDENT_2 . Override public int read ( ) throws java . io . IOException { if ( ( IDENT_0 ) < ( data . length ) ) return data [ ( ( IDENT_0 ) ++ ) ] ; else return - 1 ; } @ org . apache . IDENT_1 . util . IDENT_2 . Override public void close ( ) throws java . io . IOException { org . junit . Assert . fail ( STRING_0 ) ; } } ; java . io . File f = new java . io . File ( STRING_1 ) ; f . METHOD_1 ( ) ; org . apache . IDENT_1 . util . io . IDENT_3 . METHOD_2 ( f , STRING_2 , is ) ; java . io . File IDENT_4 = new java . io . File ( f , STRING_2 ) ; "<AssertPlaceHolder>" ; java . io . File IDENT_5 = IDENT_4 . METHOD_3 ( ) ; IDENT_4 . delete ( ) ; IDENT_5 . delete ( ) ; } METHOD_2 ( java . io . File , java . lang . String , java . io . InputStream ) { java . io . IDENT_6 out = null ; try { out = org . apache . IDENT_1 . util . io . IDENT_3 . METHOD_4 ( IDENT_7 , IDENT_8 ) ; org . apache . IDENT_1 . util . io . IDENT_3 . METHOD_5 ( content , out ) ; } finally { org . apache . IDENT_1 . util . io . IDENT_3 . close ( out ) ; } }
org . junit . Assert . assertTrue ( IDENT_4 . exists ( ) )