METHOD_0 ( ) { org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 rs = org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_4 . METHOD_1 ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_5 . IDENT_6 , org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_5 . IDENT_7 , 10 , null ) ; "<AssertPlaceHolder>" ; verify ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_5 . IDENT_8 ) . close ( ) ; } METHOD_1 ( java . lang . String , java . lang . String , int , org . pentaho . platform . api . engine . IDENT_9 ) { org . pentaho . platform . IDENT_0 . IDENT_1 . beans . IDENT_2 IDENT_10 = null ; org . pentaho . platform . plugin . services . IDENT_11 . sql . IDENT_12 IDENT_8 = null ; try { IDENT_8 = org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_4 . METHOD_2 ( IDENT_13 ) ; IDENT_8 . METHOD_3 ( IDENT_14 ) ; IDENT_8 . METHOD_4 ( true ) ; org . pentaho . commons . connection . IDENT_15 IDENT_16 = IDENT_8 . METHOD_5 ( query ) ; org . pentaho . commons . connection . IDENT_17 . IDENT_18 IDENT_19 = new org . pentaho . commons . connection . IDENT_17 . METHOD_6 ( ) ; IDENT_19 . METHOD_7 ( IDENT_16 ) ; org . pentaho . commons . connection . IDENT_20 IDENT_21 = IDENT_16 . METHOD_8 ( ) ; if ( IDENT_21 instanceof org . pentaho . platform . plugin . services . IDENT_11 . sql . IDENT_22 ) { org . pentaho . platform . plugin . services . IDENT_11 . sql . IDENT_22 IDENT_23 = ( ( org . pentaho . platform . plugin . services . IDENT_11 . sql . IDENT_22 ) ( IDENT_21 ) ) ; int [ ] IDENT_24 = IDENT_23 . METHOD_9 ( ) ; java . util . List < java . util . List < java . lang . String > > data = new java . util . ArrayList < java . util . List < java . lang . String > > ( ) ; for ( org . pentaho . commons . connection . IDENT_17 . IDENT_25 row : IDENT_19 . METHOD_10 ( ) ) { java . lang . String [ ] IDENT_26 = row . METHOD_11 ( ) ; java . util . List < java . lang . String > IDENT_27 = new java . util . ArrayList < java . lang . String > ( IDENT_26 . length ) ; for ( int j = 0 ; j < ( IDENT_26 . length ) ; j ++ ) { IDENT_27 . add ( IDENT_26 [ j ] ) ; } data . add ( IDENT_27 ) ; } IDENT_10 = new org . pentaho . platform . IDENT_0 . IDENT_1 . beans . METHOD_12 ( IDENT_24 , IDENT_19 . METHOD_13 ( ) . METHOD_14 ( ) , data ) ; } } catch ( java . lang . Exception e ) { org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . impl . utils . IDENT_4 . logger . error ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . messages . IDENT_28 . METHOD_15 ( STRING_0 , e . METHOD_16 ( ) ) , e ) ; throw new org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . METHOD_17 ( org . pentaho . platform . IDENT_0 . IDENT_1 . IDENT_3 . service . messages . IDENT_28 . METHOD_15 ( STRING_0 , e . METHOD_16 ( ) ) , e ) ; } finally { if ( IDENT_8 != null ) { IDENT_8 . close ( ) ; } } return IDENT_10 ; }
org . junit . Assert . assertNotNull ( rs )