METHOD_0 ( ) { org . teiid . query . util . IDENT_0 context = new org . teiid . query . util . METHOD_1 ( STRING_0 , null , null , null , 1 ) ; context . METHOD_2 ( org . teiid . query . IDENT_1 . IDENT_2 . METHOD_3 ( ) ) ; org . teiid . IDENT_3 . service . IDENT_4 tc = new org . teiid . IDENT_3 . service . METHOD_4 ( ) ; org . teiid . IDENT_3 . service . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( org . teiid . IDENT_3 . service . IDENT_5 . class ) ; context . METHOD_5 ( IDENT_6 ) ; context . METHOD_6 ( tc ) ; org . teiid . query . processor . IDENT_7 [ ] IDENT_8 = new org . teiid . query . processor . IDENT_7 [ 4 ] ; for ( int i = 0 ; i < ( ( IDENT_8 . length ) - 2 ) ; i ++ ) { IDENT_8 [ i ] = new org . teiid . query . processor . METHOD_7 ( 1 ) ; } for ( int i = 2 ; i < ( IDENT_8 . length ) ; i ++ ) { IDENT_8 [ i ] = new org . teiid . query . processor . METHOD_7 ( 1 ) { public org . teiid . query . processor . Boolean METHOD_8 ( boolean IDENT_9 ) { return true ; } } ; } org . teiid . query . processor . IDENT_10 plan = new org . teiid . query . processor . METHOD_9 ( java . util . Arrays . asList ( IDENT_8 ) , IDENT_8 . length , null , false ) ; plan . METHOD_8 ( false ) ; plan . METHOD_10 ( context , null , null ) ; plan . METHOD_11 ( ) ; org . teiid . common . buffer . IDENT_11 batch = plan . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_6 , org . mockito . Mockito . times ( 2 ) ) . METHOD_13 ( tc ) ; org . mockito . Mockito . verify ( IDENT_6 , org . mockito . Mockito . times ( 2 ) ) . commit ( tc ) ; } METHOD_14 ( ) { return this . METHOD_15 ( ) . METHOD_14 ( ) ; }
org . junit . Assert . assertEquals ( 4 , batch . METHOD_14 ( ) )