METHOD_0 ( ) { java . io . File shell = METHOD_1 ( STRING_0 , "b" 2 ) ; com . asakusafw . IDENT_0 . core . IDENT_1 script = new com . asakusafw . IDENT_0 . core . METHOD_2 ( STRING_1 , set ( ) , STRING_2 , STRING_3 , java . util . Arrays . asList ( shell . getAbsolutePath ( ) ) , map ( STRING_4 , "b" 4 , STRING_5 , "b" 4 ) ) ; com . asakusafw . IDENT_0 . core . IDENT_2 handler = handler ( STRING_6 , "b" 0 , "b" 1 , "b" 0 ) ; com . asakusafw . runtime . core . context . IDENT_3 IDENT_4 = IDENT_3 . IDENT_5 . METHOD_3 ( "b" ) . METHOD_4 ( IDENT_6 . IDENT_7 ) . METHOD_5 ( STRING_7 ) ; com . asakusafw . IDENT_0 . core . IDENT_8 context = new com . asakusafw . IDENT_0 . core . METHOD_6 ( "b" , "b" 5 , "b" 3 , com . asakusafw . IDENT_0 . core . IDENT_9 . IDENT_10 , map ( ) , IDENT_4 . METHOD_7 ( ) ) ; execute ( context , script , handler ) ; java . util . Map < java . lang . String , java . lang . String > map = new java . util . HashMap ( ) ; for ( java . lang . String line : METHOD_8 ( shell ) ) { if ( line . trim ( ) . isEmpty ( ) ) { continue ; } java . lang . String [ ] IDENT_11 = line . split ( STRING_8 , 2 ) ; if ( ( IDENT_11 . length ) != 2 ) { continue ; } map . put ( IDENT_11 [ 0 ] , IDENT_11 [ 1 ] ) ; } "<AssertPlaceHolder>" ; } apply ( java . util . Map ) { if ( IDENT_12 == null ) { throw new java . lang . IllegalArgumentException ( STRING_9 ) ; } com . asakusafw . runtime . core . context . IDENT_3 IDENT_13 = this ; java . lang . String IDENT_14 = METHOD_9 ( IDENT_12 . get ( com . asakusafw . runtime . core . context . IDENT_3 . IDENT_15 ) ) ; if ( IDENT_14 != null ) { com . asakusafw . runtime . core . context . IDENT_3 . IDENT_6 IDENT_16 = com . asakusafw . runtime . core . context . IDENT_3 . IDENT_6 . METHOD_10 ( IDENT_14 ) ; if ( IDENT_16 != null ) { IDENT_13 = IDENT_13 . METHOD_4 ( IDENT_16 ) ; } else { if ( com . asakusafw . runtime . core . context . IDENT_3 . LOG . METHOD_11 ( IDENT_17 . IDENT_18 ) ) { com . asakusafw . runtime . core . context . IDENT_3 . LOG . METHOD_12 ( java . text . IDENT_19 . format ( STRING_10 , com . asakusafw . runtime . core . context . IDENT_3 . IDENT_15 , IDENT_14 ) ) ; } } } java . lang . String IDENT_20 = METHOD_9 ( IDENT_12 . get ( com . asakusafw . runtime . core . context . IDENT_3 . IDENT_21 ) ) ; if ( IDENT_20 != null ) { IDENT_13 = IDENT_13 . METHOD_3 ( IDENT_20 ) ; } java . lang . String IDENT_22 = METHOD_9 ( IDENT_12 . get ( com . asakusafw . runtime . core . context . IDENT_3 . IDENT_23 ) ) ; if ( IDENT_22 != null ) { IDENT_13 = IDENT_13 . METHOD_5 ( IDENT_22 ) ; } return IDENT_13 ; }
org . junit . Assert . assertThat ( IDENT_3 . IDENT_5 . apply ( map ) , is ( IDENT_4 ) )