METHOD_0 ( ) { java . lang . Class type = java . lang . String . class ; java . lang . String IDENT_0 = STRING_0 ; javax . IDENT_1 . text . IDENT_2 IDENT_3 = mock ( javax . IDENT_1 . text . IDENT_2 . class ) ; org . pentaho . IDENT_4 . engine . IDENT_5 . core . IDENT_6 . IDENT_7 . base . parameters . IDENT_8 IDENT_9 = mock ( org . pentaho . IDENT_4 . engine . IDENT_5 . core . IDENT_6 . IDENT_7 . base . parameters . IDENT_8 . class ) ; org . pentaho . IDENT_4 . engine . IDENT_5 . core . IDENT_6 . IDENT_7 . base . parameters . IDENT_10 handler = new org . pentaho . IDENT_4 . engine . IDENT_5 . core . IDENT_6 . IDENT_7 . base . parameters . METHOD_1 ( type , IDENT_0 , IDENT_3 , IDENT_9 , null ) ; java . lang . Object result = handler . METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { if ( text == null ) { return null ; } if ( ( IDENT_11 ) != null ) { try { final java . lang . Object o = IDENT_11 . METHOD_3 ( text ) ; final java . lang . String IDENT_12 = org . pentaho . IDENT_4 . engine . IDENT_5 . core . util . beans . IDENT_13 . METHOD_4 ( o ) ; return org . pentaho . IDENT_4 . engine . IDENT_5 . core . util . beans . IDENT_13 . METHOD_5 ( IDENT_12 , getType ( ) ) ; } catch ( java . text . IDENT_14 e ) { throw new org . pentaho . IDENT_4 . engine . IDENT_5 . core . util . beans . METHOD_6 ( STRING_2 ) ; } } if ( ( ( java . lang . Object . class ) == ( type ) ) || ( ( java . lang . String . class ) == ( type ) ) ) { return text ; } return org . pentaho . IDENT_4 . engine . IDENT_5 . core . util . beans . IDENT_13 . METHOD_5 ( text , type ) ; }
org . junit . Assert . assertThat ( ( ( java . lang . String ) ( result ) ) , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( STRING_1 ) ) )