METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; java . lang . String IDENT_2 = STRING_0 ; org . pentaho . IDENT_3 . data . impl . IDENT_4 . hdfs . IDENT_5 . IDENT_6 provider = new org . pentaho . IDENT_3 . data . impl . IDENT_4 . hdfs . IDENT_5 . METHOD_2 ( IDENT_7 , IDENT_8 , IDENT_9 , IDENT_10 , IDENT_11 , IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 , times ( 2 ) ) . read ( eq ( IDENT_2 ) , eq ( IDENT_1 ) ) ; } METHOD_3 ( java . lang . String , org . pentaho . IDENT_1 . api . IDENT_12 ) { if ( IDENT_1 == null ) { return null ; } try { java . util . List < org . pentaho . di . core . IDENT_13 . model . IDENT_14 > IDENT_15 = list ( IDENT_1 ) ; for ( org . pentaho . di . core . IDENT_13 . model . IDENT_14 IDENT_5 : IDENT_15 ) { if ( IDENT_5 . getName ( ) . equals ( IDENT_16 ) ) { return IDENT_5 ; } } } catch ( org . pentaho . IDENT_1 . api . exceptions . IDENT_17 e ) { return null ; } return null ; }
org . junit . Assert . assertEquals ( IDENT_5 , provider . METHOD_3 ( IDENT_2 , null ) )