METHOD_0 ( ) { org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_2 context = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_2 . class ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_3 base = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_3 . class ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element IDENT_4 = mock ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . Element . class ) ; doReturn ( 1 ) . when ( base ) . METHOD_1 ( ) ; doReturn ( IDENT_4 ) . when ( base ) . METHOD_2 ( 0 ) ; org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 IDENT_6 = org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_7 . match ( context , base , STRING_0 ) ; "<AssertPlaceHolder>" ; verify ( context ) . METHOD_3 ( true ) ; } match ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_2 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 , org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_8 ) { if ( parse == null ) { throw new java . lang . METHOD_4 ( ) ; } context . METHOD_3 ( true ) ; return new org . pentaho . IDENT_0 . engine . IDENT_1 . core . dom . IDENT_7 . METHOD_5 ( ) . get ( context , base , parse ) ; }
org . junit . Assert . assertThat ( IDENT_6 , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( ( ( org . pentaho . IDENT_0 . engine . IDENT_1 . core . IDENT_5 ) ( IDENT_4 ) ) ) ) )