METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_3 [ ] keys = new org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_3 [ ] { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_3 . METHOD_1 ( STRING_0 , java . lang . String . class ) } ; java . util . List < org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_3 > IDENT_4 = java . util . Collections . METHOD_2 ( java . util . Arrays . asList ( keys ) ) ; org . IDENT_5 . api . mockito . IDENT_6 . METHOD_3 ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_7 . class ) ; when ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_7 . METHOD_4 ( ) ) . thenReturn ( org . IDENT_5 . api . mockito . IDENT_6 . mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . IDENT_7 . class ) ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element IDENT_8 = org . IDENT_5 . api . mockito . IDENT_6 . mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element . class ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . IDENT_2 . IDENT_9 IDENT_10 = org . IDENT_5 . api . mockito . IDENT_6 . mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . IDENT_2 . IDENT_9 . class ) ; doReturn ( IDENT_10 ) . when ( IDENT_8 ) . METHOD_5 ( ) ; doReturn ( true ) . when ( IDENT_10 ) . METHOD_6 ( IDENT_11 . IDENT_12 , true ) ; when ( IDENT_13 . METHOD_7 ( IDENT_8 , STRING_1 ) ) . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_14 , java . lang . Object ) { if ( content instanceof org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . layout . IDENT_2 . IDENT_9 IDENT_2 = ( ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element ) ( content ) ) . METHOD_5 ( ) ; java . lang . Boolean IDENT_15 = ( ( java . lang . Boolean ) ( IDENT_2 . METHOD_6 ( IDENT_11 . IDENT_12 , Boolean . IDENT_16 ) ) ) ; return IDENT_15 ? value : null ; } return value ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_13 . METHOD_7 ( IDENT_8 , STRING_1 ) )