METHOD_0 ( ) { java . lang . String input = STRING_0 ; java . lang . String output = STRING_1 ; java . lang . String IDENT_0 = STRING_2 ; org . teiid . IDENT_1 . IDENT_2 command = METHOD_1 ( org . teiid . query . IDENT_3 . IDENT_4 . METHOD_2 ( IDENT_0 , STRING_3 , STRING_4 ) , input , org . teiid . IDENT_5 . jdbc . IDENT_6 . IDENT_7 . IDENT_8 , null , output ) ; java . sql . IDENT_9 connection = org . mockito . Mockito . mock ( java . sql . IDENT_9 . class ) ; java . sql . IDENT_10 cs = org . mockito . Mockito . mock ( java . sql . IDENT_10 . class ) ; org . mockito . Mockito . METHOD_3 ( cs . METHOD_4 ( ) ) . METHOD_5 ( ( - 1 ) ) ; java . sql . ResultSet rs = org . mockito . Mockito . mock ( java . sql . ResultSet . class ) ; org . mockito . Mockito . METHOD_3 ( cs . METHOD_6 ( 2 ) ) . METHOD_5 ( rs ) ; org . mockito . Mockito . METHOD_3 ( connection . METHOD_7 ( output ) ) . METHOD_5 ( cs ) ; org . teiid . IDENT_5 . jdbc . IDENT_6 . IDENT_11 IDENT_12 = new org . teiid . IDENT_5 . jdbc . IDENT_6 . METHOD_8 ( ) ; org . teiid . IDENT_5 . jdbc . IDENT_13 IDENT_14 = new org . teiid . IDENT_5 . jdbc . METHOD_9 ( command , connection , org . mockito . Mockito . mock ( org . teiid . IDENT_5 . IDENT_15 . class ) , IDENT_12 ) ; IDENT_14 . execute ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( cs , org . mockito . Mockito . times ( 1 ) ) . METHOD_10 ( 2 , METHOD_8 . IDENT_16 ) ; } METHOD_11 ( ) { java . util . List < java . lang . Object > result = new java . util . ArrayList < java . lang . Object > ( IDENT_17 ) ; for ( int i = 0 ; i < ( IDENT_17 ) ; i ++ ) { result . add ( i ) ; } return result ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( rs ) , IDENT_14 . METHOD_11 ( ) )