METHOD_0 ( ) { doReturn ( IDENT_0 . IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( record ) ; doReturn ( java . util . Collections . singletonList ( METHOD_2 ( org . IDENT_3 . module . IDENT_4 . IDENT_5 . app . IDENT_6 . IDENT_7 ) ) ) . when ( IDENT_8 ) . METHOD_3 ( record , true ) ; boolean result = IDENT_6 . evaluate ( record ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , times ( 1 ) ) . METHOD_3 ( record , true ) ; } evaluate ( org . json . simple . JSONObject ) { if ( ( action ) == null ) { return false ; } try { org . json . simple . IDENT_9 IDENT_10 = METHOD_4 ( IDENT_11 ) ; if ( IDENT_10 == null ) { return false ; } else { if ( IDENT_10 . contains ( action ) ) { return true ; } } } catch ( java . lang . Exception err ) { throw new org . IDENT_3 . error . METHOD_5 ( ( STRING_0 + err ) ) ; } return false ; }
org . junit . Assert . assertTrue ( result )