METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 parameters = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 . class ) ; javax . IDENT_3 . table . IDENT_4 model = mock ( javax . IDENT_3 . table . IDENT_4 . class ) ; doReturn ( model ) . when ( parameters ) . get ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 . IDENT_6 ) ; javax . IDENT_3 . table . IDENT_4 result = factory . METHOD_1 ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 . IDENT_6 , parameters ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_2 ) { if ( query == null ) { throw new java . lang . METHOD_2 ( STRING_0 ) ; } final java . lang . String IDENT_7 = METHOD_3 ( query ) ; if ( IDENT_7 == null ) { throw new org . pentaho . IDENT_0 . engine . IDENT_1 . core . METHOD_4 ( ( ( STRING_1 + query ) + STRING_2 ) ) ; } return super . METHOD_1 ( IDENT_7 , parameters ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( model ) ) )