METHOD_0 ( ) { java . lang . String [ ] expected = new java . lang . String [ ] { STRING_0 } ; doReturn ( expected ) . when ( IDENT_0 ) . METHOD_1 ( IDENT_1 , element , null ) ; java . lang . String [ ] result = IDENT_1 . METHOD_1 ( element , null ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , org . pentaho . IDENT_2 . engine . IDENT_3 . core . IDENT_4 ) { final java . lang . String [ ] IDENT_5 = IDENT_6 . METHOD_2 ( query , parameter ) ; if ( IDENT_5 == null ) { return null ; } final java . util . IDENT_7 < java . lang . String > fields = new java . util . IDENT_7 < java . lang . String > ( java . util . Arrays . asList ( super . METHOD_1 ( query , parameter ) ) ) ; fields . addAll ( java . util . Arrays . asList ( IDENT_5 ) ) ; return fields . toArray ( new java . lang . String [ fields . size ( ) ] ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( expected ) ) )