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_7 IDENT_8 = util . METHOD_3 ( STRING_1 ) ; command = new org . teiid . IDENT_6 . METHOD_4 ( java . util . Arrays . asList ( command , IDENT_8 ) ) ; org . teiid . IDENT_0 . IDENT_9 IDENT_10 = org . mockito . Mockito . mock ( org . teiid . IDENT_0 . IDENT_9 . class ) ; org . teiid . metadata . IDENT_11 IDENT_12 = org . mockito . Mockito . mock ( org . teiid . metadata . IDENT_11 . class ) ; org . teiid . IDENT_0 . cassandra . IDENT_13 connection = org . mockito . Mockito . mock ( org . teiid . IDENT_0 . cassandra . IDENT_13 . class ) ; com . IDENT_14 . driver . core . IDENT_15 IDENT_16 = org . mockito . Mockito . mock ( com . IDENT_14 . driver . core . IDENT_15 . class ) ; org . mockito . Mockito . METHOD_5 ( IDENT_16 . METHOD_6 ( ) ) . METHOD_7 ( true ) ; org . mockito . Mockito . METHOD_5 ( connection . METHOD_8 ( java . util . Arrays . asList ( STRING_2 , STRING_3 ) ) ) . METHOD_7 ( IDENT_16 ) ; org . teiid . IDENT_0 . IDENT_17 IDENT_18 = ( ( org . teiid . IDENT_0 . IDENT_17 ) ( IDENT_2 . METHOD_9 ( command , IDENT_10 , IDENT_12 , connection ) ) ) ; IDENT_18 . execute ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( connection ) . METHOD_8 ( java . util . Arrays . asList ( STRING_2 , STRING_3 ) ) ; } METHOD_10 ( ) { if ( ( IDENT_19 ) != null ) { int [ ] IDENT_20 = new int [ IDENT_19 . size ( ) ] ; for ( int i = 0 ; i < ( IDENT_20 . length ) ; i ++ ) { IDENT_20 [ i ] = IDENT_19 . get ( i ) ; } return IDENT_20 ; } return new int [ ] { result } ; }
org . junit . Assert . assertArrayEquals ( new int [ ] { 2 } , IDENT_18 . METHOD_10 ( ) )