METHOD_0 ( ) { java . lang . String input = STRING_0 ; org . teiid . cdk . api . IDENT_0 util = org . teiid . cdk . IDENT_1 . IDENT_2 . getInstance ( ) . METHOD_1 ( ) ; org . teiid . IDENT_3 . IDENT_4 command = util . METHOD_2 ( input ) ; org . teiid . IDENT_5 . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( org . teiid . IDENT_5 . IDENT_6 . class ) ; org . teiid . metadata . IDENT_8 IDENT_9 = org . mockito . Mockito . mock ( org . teiid . metadata . IDENT_8 . class ) ; org . teiid . IDENT_5 . IDENT_10 . IDENT_11 connection = org . mockito . Mockito . mock ( org . teiid . IDENT_5 . IDENT_10 . IDENT_11 . class ) ; com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 IDENT_16 = org . mockito . Mockito . mock ( com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_15 . class ) ; org . mockito . Mockito . METHOD_3 ( IDENT_16 . METHOD_4 ( ) ) . METHOD_5 ( true ) ; com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_17 . IDENT_18 [ ] results = new com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_17 . IDENT_18 [ 1 ] ; com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_17 . IDENT_18 s = new com . IDENT_12 . IDENT_13 . IDENT_14 . IDENT_17 . METHOD_6 ( ) ; s . METHOD_7 ( STRING_1 ) ; s . setId ( STRING_2 ) ; results [ 0 ] = s ; s . METHOD_8 ( STRING_3 , STRING_4 ) ; s . METHOD_8 ( STRING_5 , STRING_6 ) ; org . mockito . Mockito . METHOD_3 ( IDENT_16 . METHOD_9 ( ) ) . METHOD_5 ( results ) ; org . mockito . Mockito . METHOD_3 ( connection . query ( STRING_7 , 0 , false ) ) . METHOD_5 ( IDENT_16 ) ; org . teiid . IDENT_5 . IDENT_10 . IDENT_19 . IDENT_20 IDENT_19 = ( ( org . teiid . IDENT_5 . IDENT_10 . IDENT_19 . IDENT_20 ) ( org . teiid . IDENT_5 . IDENT_10 . IDENT_19 . IDENT_21 . IDENT_22 . METHOD_10 ( command , IDENT_7 , IDENT_9 , connection ) ) ) ; IDENT_19 . execute ( ) ; org . mockito . Mockito . verify ( connection , org . mockito . Mockito . times ( 1 ) ) . query ( STRING_7 , 0 , false ) ; "<AssertPlaceHolder>" ; } next ( ) { return IDENT_19 . next ( ) ; }
org . junit . Assert . assertArrayEquals ( new java . lang . Object [ ] { STRING_2 , STRING_4 , STRING_6 } , ( ( java . lang . Object [ ] ) ( IDENT_19 . next ( ) . get ( 0 ) ) ) )