METHOD_0 ( ) { org . IDENT_0 . entity . IDENT_1 IDENT_2 = mock ( org . IDENT_0 . entity . IDENT_1 . class ) ; java . lang . String IDENT_3 = STRING_0 ; fr . IDENT_4 . IDENT_5 . listener . IDENT_6 event = new fr . IDENT_4 . IDENT_5 . listener . METHOD_1 ( IDENT_2 , IDENT_3 ) ; METHOD_2 ( IDENT_7 . getProperty ( IDENT_8 . IDENT_9 ) ) . METHOD_3 ( false ) ; METHOD_2 ( IDENT_7 . getProperty ( IDENT_8 . IDENT_10 ) ) . METHOD_3 ( "" ) ; METHOD_2 ( IDENT_7 . getProperty ( IDENT_8 . IDENT_11 ) ) . METHOD_3 ( false ) ; listener . METHOD_4 ( event ) ; "<AssertPlaceHolder>" ; METHOD_5 ( IDENT_12 ) ; } METHOD_4 ( fr . IDENT_4 . IDENT_5 . listener . METHOD_1 ) { final org . IDENT_0 . entity . IDENT_1 IDENT_2 = event . METHOD_6 ( ) ; if ( IDENT_7 . getProperty ( IDENT_8 . IDENT_9 ) ) { event . METHOD_7 ( null ) ; return ; } java . lang . String IDENT_13 = IDENT_7 . getProperty ( IDENT_8 . IDENT_10 ) ; if ( ! ( IDENT_13 . isEmpty ( ) ) ) { IDENT_13 = org . IDENT_0 . IDENT_14 . METHOD_8 ( STRING_1 , IDENT_13 ) ; event . METHOD_7 ( IDENT_13 . replace ( STRING_2 , IDENT_2 . getName ( ) ) . replace ( STRING_3 , IDENT_2 . METHOD_9 ( ) ) . replace ( STRING_4 , org . IDENT_0 . IDENT_14 . METHOD_10 ( IDENT_2 . METHOD_9 ( ) ) ) ) ; } if ( ! ( IDENT_7 . getProperty ( IDENT_8 . IDENT_11 ) ) ) { return ; } java . lang . String name = IDENT_2 . getName ( ) . toLowerCase ( ) ; java . lang . String IDENT_3 = event . METHOD_11 ( ) ; if ( IDENT_3 != null ) { event . METHOD_7 ( null ) ; IDENT_12 . METHOD_12 ( name , IDENT_3 ) ; } }
org . junit . Assert . assertThat ( event . METHOD_11 ( ) , org . hamcrest . Matchers . equalTo ( IDENT_3 ) )