METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = METHOD_1 ( new org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_2 ( ) ) ; IDENT_6 . METHOD_3 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_8 , org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_9 ) ; IDENT_6 . METHOD_4 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_10 ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_11 parameters = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_11 . class ) ; org . apache . IDENT_12 . IDENT_13 IDENT_14 = mock ( org . apache . IDENT_12 . IDENT_13 . class ) ; javax . IDENT_15 . table . IDENT_16 IDENT_17 = mock ( javax . IDENT_15 . table . IDENT_16 . class ) ; when ( IDENT_6 . METHOD_5 ( ) ) . thenReturn ( IDENT_14 ) ; doReturn ( IDENT_17 ) . when ( IDENT_14 ) . METHOD_6 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_10 , STRING_0 , 1 , 1 , org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_9 ) ; javax . IDENT_15 . table . IDENT_16 result = IDENT_6 . METHOD_7 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_7 . IDENT_8 , parameters ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_19 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_11 ) { if ( IDENT_20 == null ) { throw new java . lang . METHOD_8 ( STRING_1 ) ; } final org . pentaho . IDENT_0 . engine . IDENT_1 . core . util . IDENT_21 IDENT_22 = METHOD_9 ( parameters , IDENT_20 ) ; final java . util . HashMap < java . lang . String , java . lang . String > IDENT_23 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; IDENT_23 . put ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_25 , IDENT_20 . getId ( ) ) ; final int IDENT_26 = IDENT_22 . METHOD_10 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_27 ) ; final int IDENT_28 = IDENT_22 . METHOD_10 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_29 ) ; final int IDENT_30 = IDENT_22 . METHOD_10 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_31 ) ; final int IDENT_32 = IDENT_22 . METHOD_10 ( org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_33 ) ; for ( int p = 0 ; p < ( IDENT_22 . METHOD_11 ( ) ) ; p ++ ) { final java . lang . String name = ( ( java . lang . String ) ( IDENT_22 . METHOD_12 ( p , IDENT_26 ) ) ) ; final java . lang . String type = ( ( java . lang . String ) ( IDENT_22 . METHOD_12 ( p , IDENT_28 ) ) ) ; final java . lang . String pattern = ( ( java . lang . String ) ( IDENT_22 . METHOD_12 ( p , IDENT_32 ) ) ) ; final java . lang . String IDENT_34 = METHOD_13 ( IDENT_20 , name ) ; final java . lang . Object IDENT_35 = parameters . get ( IDENT_34 ) ; final java . lang . String param ; if ( IDENT_35 == null ) { param = ( ( java . lang . String ) ( IDENT_22 . METHOD_12 ( p , IDENT_30 ) ) ) ; } else { param = METHOD_14 ( name , type , pattern , IDENT_35 ) ; } IDENT_23 . put ( ( STRING_2 + name ) , param ) ; } return METHOD_15 ( parameters , org . pentaho . IDENT_0 . engine . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_18 . IDENT_24 . IDENT_36 , IDENT_23 ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( IDENT_17 ) ) )