METHOD_0 ( ) { org . teiid . IDENT_0 . cassandra . IDENT_1 IDENT_2 = new org . teiid . IDENT_0 . cassandra . METHOD_1 ( ) ; java . lang . String input = STRING_0 ; org . teiid . cdk . api . IDENT_3 util = org . teiid . cdk . IDENT_4 . IDENT_5 . getInstance ( ) . METHOD_2 ( ) ; org . teiid . IDENT_6 . IDENT_7 command = util . METHOD_3 ( input ) ; org . teiid . IDENT_6 . IDENT_8 insert = ( ( org . teiid . IDENT_6 . IDENT_8 ) ( command ) ) ; org . teiid . IDENT_6 . IDENT_9 p = new org . teiid . IDENT_6 . METHOD_4 ( ) ; p . METHOD_5 ( java . lang . String . class ) ; p . METHOD_6 ( 0 ) ; ( ( org . teiid . IDENT_6 . IDENT_10 ) ( insert . METHOD_7 ( ) ) ) . METHOD_8 ( ) . set ( 0 , p ) ; insert . METHOD_9 ( java . util . Arrays . asList ( java . util . Arrays . asList ( "a" ) , java . util . Arrays . asList ( "b" ) ) . iterator ( ) ) ; org . teiid . IDENT_0 . IDENT_11 IDENT_12 = org . mockito . Mockito . mock ( org . teiid . IDENT_0 . IDENT_11 . class ) ; org . teiid . metadata . IDENT_13 IDENT_14 = org . mockito . Mockito . mock ( org . teiid . metadata . IDENT_13 . class ) ; org . teiid . IDENT_0 . cassandra . IDENT_15 connection = org . mockito . Mockito . mock ( org . teiid . IDENT_0 . cassandra . IDENT_15 . class ) ; com . IDENT_16 . driver . core . IDENT_17 IDENT_18 = org . mockito . Mockito . mock ( com . IDENT_16 . driver . core . IDENT_17 . class ) ; org . mockito . Mockito . METHOD_10 ( IDENT_18 . METHOD_11 ( ) ) . METHOD_12 ( true ) ; org . mockito . Mockito . METHOD_10 ( connection . METHOD_13 ( org . mockito . Mockito . eq ( STRING_1 ) , ( ( java . util . List < java . lang . Object [ ] > ) ( org . mockito . Mockito . METHOD_14 ( ) ) ) ) ) . METHOD_12 ( IDENT_18 ) ; org . teiid . IDENT_0 . IDENT_19 IDENT_20 = ( ( org . teiid . IDENT_0 . IDENT_19 ) ( IDENT_2 . METHOD_15 ( command , IDENT_12 , IDENT_14 , connection ) ) ) ; IDENT_20 . execute ( ) ; "<AssertPlaceHolder>" ; } METHOD_16 ( ) { if ( ( IDENT_21 ) != null ) { int [ ] IDENT_22 = new int [ IDENT_21 . size ( ) ] ; for ( int i = 0 ; i < ( IDENT_22 . length ) ; i ++ ) { IDENT_22 [ i ] = IDENT_21 . get ( i ) ; } return IDENT_22 ; } return new int [ ] { result } ; }
org . junit . Assert . assertArrayEquals ( new int [ ] { 2 } , IDENT_20 . METHOD_16 ( ) )