METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( STRING_1 ) ; java . lang . String IDENT_4 = resolver . METHOD_2 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 ) { if ( ( IDENT_3 . METHOD_1 ( ) ) != null ) { return IDENT_3 . METHOD_1 ( ) ; } else { org . pentaho . platform . api . IDENT_5 . IDENT_6 IDENT_7 = IDENT_8 . get ( METHOD_3 ( IDENT_3 . getName ( ) ) ) ; if ( IDENT_7 == null ) { return null ; } return IDENT_7 . getName ( ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 , STRING_0 )