METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) . METHOD_2 ( new org . apache . IDENT_0 . IDENT_1 . METHOD_3 ( ) ) ; com . IDENT_3 . IDENT_0 . controller . IDENT_4 . IDENT_5 listener = new com . IDENT_3 . IDENT_0 . controller . IDENT_4 . METHOD_4 ( ) ; org . apache . IDENT_0 . IDENT_6 . IDENT_7 action = new org . apache . IDENT_0 . IDENT_6 . METHOD_5 ( ) ; action . METHOD_6 ( 3 ) ; org . apache . IDENT_0 . IDENT_6 . IDENT_8 IDENT_9 = new org . apache . IDENT_0 . IDENT_6 . METHOD_7 ( ) ; IDENT_9 . setName ( STRING_0 ) ; org . apache . IDENT_0 . IDENT_6 . METHOD_7 IDENT_10 = new org . apache . IDENT_0 . IDENT_6 . METHOD_7 ( ) ; IDENT_10 . setName ( STRING_1 ) ; org . apache . IDENT_0 . control . IDENT_11 IDENT_12 = new org . apache . IDENT_0 . control . METHOD_8 ( ) ; com . IDENT_3 . IDENT_0 . controller . IDENT_13 IDENT_6 = new com . IDENT_3 . IDENT_0 . controller . METHOD_9 ( ) ; IDENT_6 . METHOD_10 ( true ) ; org . apache . IDENT_0 . control . IDENT_14 IDENT_15 = new org . apache . IDENT_0 . control . METHOD_11 ( ) ; IDENT_15 . METHOD_12 ( 2 ) ; IDENT_15 . METHOD_13 ( false ) ; org . apache . IDENT_16 . collections . IDENT_17 IDENT_18 = new org . apache . IDENT_16 . collections . METHOD_14 ( ) ; IDENT_18 . add ( IDENT_9 ) ; IDENT_18 . add ( action ) ; org . apache . IDENT_16 . collections . METHOD_14 IDENT_19 = new org . apache . IDENT_16 . collections . METHOD_14 ( ) ; IDENT_19 . add ( IDENT_12 , IDENT_18 ) ; org . apache . IDENT_16 . collections . METHOD_14 IDENT_20 = new org . apache . IDENT_16 . collections . METHOD_14 ( ) ; IDENT_20 . add ( IDENT_6 , IDENT_19 ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_21 IDENT_22 = new org . apache . IDENT_0 . IDENT_1 . METHOD_15 ( ) ; IDENT_22 . METHOD_16 ( 1 ) ; IDENT_22 . METHOD_17 ( IDENT_15 ) ; org . apache . IDENT_16 . collections . METHOD_14 IDENT_23 = new org . apache . IDENT_16 . collections . METHOD_14 ( ) ; IDENT_23 . add ( IDENT_22 , IDENT_20 ) ; IDENT_23 . add ( IDENT_22 , IDENT_10 ) ; IDENT_23 . add ( IDENT_22 , listener ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_24 compiler = new org . apache . IDENT_0 . IDENT_1 . METHOD_18 ( IDENT_23 ) ; IDENT_23 . METHOD_19 ( compiler ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_25 IDENT_26 = new org . apache . IDENT_0 . IDENT_1 . METHOD_20 ( ) ; org . apache . IDENT_0 . IDENT_1 . IDENT_27 IDENT_28 = new org . apache . IDENT_0 . IDENT_1 . METHOD_21 ( IDENT_23 , IDENT_22 , IDENT_26 ) ; IDENT_28 . METHOD_22 ( IDENT_22 ) ; IDENT_28 . METHOD_23 ( new org . apache . IDENT_0 . engine . METHOD_24 ( ) ) ; IDENT_28 . METHOD_25 ( true ) ; IDENT_28 . run ( ) ; "<AssertPlaceHolder>" ; } run ( ) { try { java . io . IDENT_29 IDENT_30 = new org . apache . commons . io . output . METHOD_26 ( ) ; java . io . InputStream is = IDENT_31 . METHOD_27 ( ) ; com . IDENT_3 . IDENT_0 . IDENT_32 . IDENT_33 . IDENT_34 . log . debug ( ( STRING_2 + ( is . METHOD_28 ( ) ) ) ) ; org . apache . commons . io . IDENT_35 . METHOD_29 ( is , IDENT_30 ) ; com . IDENT_3 . IDENT_0 . IDENT_32 . IDENT_33 . IDENT_34 . log . debug ( ( STRING_3 + ( is . METHOD_28 ( ) ) ) ) ; } catch ( java . lang . Exception e ) { com . IDENT_3 . IDENT_0 . IDENT_32 . IDENT_33 . IDENT_34 . log . error ( STRING_4 , e ) ; } }
org . junit . Assert . assertEquals ( 2 , listener . events . size ( ) )