METHOD_0 ( ) { try { java . io . File IDENT_0 = new java . io . File ( STRING_0 ) ; org . IDENT_1 . core . file . IDENT_2 writer = org . IDENT_1 . core . file . IDENT_3 . create ( IDENT_0 ) ; java . lang . String IDENT_4 = org . IDENT_1 . core . util . IDENT_5 . METHOD_1 ( org . IDENT_1 . core . util . IDENT_5 . getResourceAsStream ( STRING_1 ) , STRING_2 ) ; writer . METHOD_2 ( IDENT_4 ) ; java . lang . String [ ] args = new java . lang . String [ ] { STRING_3 } ; java . lang . System . setProperty ( STRING_4 , STRING_5 ) ; java . lang . System . setProperty ( STRING_6 , STRING_7 ) ; org . IDENT_1 . command . IDENT_6 . METHOD_3 ( args ) ; java . lang . Thread . sleep ( INT_0 ) ; java . io . InputStream is = new java . io . METHOD_4 ( IDENT_0 ) ; java . lang . String source = org . IDENT_1 . core . util . IDENT_5 . METHOD_1 ( is , STRING_2 ) ; java . lang . String expected = org . IDENT_1 . core . util . IDENT_5 . METHOD_1 ( org . IDENT_1 . core . util . IDENT_5 . getResourceAsStream ( STRING_8 ) , STRING_2 ) ; "<AssertPlaceHolder>" ; } finally { java . io . File IDENT_0 = new java . io . File ( STRING_0 ) ; org . IDENT_1 . core . file . IDENT_2 writer = org . IDENT_1 . core . file . IDENT_3 . create ( IDENT_0 ) ; java . lang . String IDENT_4 = org . IDENT_1 . core . util . IDENT_5 . METHOD_1 ( org . IDENT_1 . core . util . IDENT_5 . getResourceAsStream ( STRING_9 ) , STRING_2 ) ; writer . METHOD_2 ( IDENT_4 ) ; } } getResourceAsStream ( java . lang . String ) { org . IDENT_1 . core . util . IDENT_7 . METHOD_5 ( "name" ) . METHOD_6 ( name ) ; return org . IDENT_1 . core . util . IDENT_5 . class . METHOD_7 ( ) . getResourceAsStream ( name ) ; }
org . junit . Assert . assertThat ( source , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( expected ) ) )