METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 IDENT_3 = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . class ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 result = IDENT_8 . METHOD_1 ( IDENT_3 , IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_4 . IDENT_5 . IDENT_6 ) { if ( ( ( script ) == null ) || ( ( IDENT_9 ) == null ) ) { return IDENT_3 ; } try { final org . apache . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . IDENT_10 . METHOD_2 ( ) ; IDENT_12 . METHOD_3 ( STRING_0 , IDENT_3 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_13 . class ) ; IDENT_12 . METHOD_3 ( STRING_1 , IDENT_7 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_4 . IDENT_5 . IDENT_6 . class ) ; final java . lang . Object o = IDENT_12 . METHOD_4 ( METHOD_5 ( ) , STRING_2 , 1 , 1 , IDENT_14 ) ; if ( ( o instanceof org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 ) == false ) { throw new org . pentaho . IDENT_0 . engine . IDENT_1 . core . METHOD_6 ( STRING_3 ) ; } return ( ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 ) ( o ) ) ; } catch ( org . apache . IDENT_10 . IDENT_15 e ) { throw new org . pentaho . IDENT_0 . engine . IDENT_1 . core . METHOD_6 ( STRING_4 , e ) ; } }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( IDENT_3 ) ) )