extension ( ) { java . io . File shell = METHOD_0 ( STRING_0 2 , STRING_1 ) ; com . asakusafw . IDENT_0 . core . IDENT_1 script = new com . asakusafw . IDENT_0 . core . METHOD_1 ( STRING_2 , set ( ) , STRING_0 , STRING_3 , java . util . Arrays . asList ( shell . getAbsolutePath ( ) , STRING_4 ) , map ( ) , java . util . Arrays . asList ( STRING_2 ) ) ; java . io . File base = IDENT_2 . METHOD_2 ( STRING_5 ) ; com . asakusafw . IDENT_0 . core . IDENT_3 handler = handler ( IDENT_4 . IDENT_5 , new java . io . File ( base , STRING_6 ) . getAbsolutePath ( ) ) ; try ( com . asakusafw . IDENT_0 . core . util . IDENT_6 IDENT_7 = new com . asakusafw . IDENT_0 . core . util . METHOD_3 ( ) ) { java . io . File file = IDENT_7 . create ( STRING_2 , STRING_0 0 , new java . io . ByteArrayInputStream ( STRING_7 . getBytes ( com . asakusafw . IDENT_0 . IDENT_8 . IDENT_9 . IDENT_10 ) ) ) ; com . asakusafw . IDENT_0 . core . IDENT_11 context = new com . asakusafw . IDENT_0 . core . METHOD_4 ( "b" , STRING_0 1 , STRING_8 , com . asakusafw . IDENT_0 . core . IDENT_12 . IDENT_13 , map ( ) , map ( ) , java . util . Collections . METHOD_5 ( STRING_2 , new com . asakusafw . IDENT_0 . IDENT_14 . METHOD_6 ( file ) ) ) ; execute ( context , script , handler ) ; } java . util . List < java . lang . String > results = METHOD_7 ( shell ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . io . File ) { java . io . File output = new java . io . File ( IDENT_15 . METHOD_8 ( ) , ( ( IDENT_15 . getName ( ) ) + STRING_9 ) ) ; java . util . List < java . lang . String > results = new java . util . ArrayList ( ) ; try ( java . util . IDENT_16 IDENT_17 = new java . util . METHOD_9 ( output ) ) { while ( IDENT_17 . METHOD_10 ( ) ) { results . add ( IDENT_17 . METHOD_11 ( ) ) ; } } return results ; }
org . junit . Assert . assertThat ( results , is ( java . util . Arrays . asList ( STRING_4 , STRING_7 ) ) )