METHOD_0 ( ) { org . neo4j . jdbc . IDENT_0 . IDENT_1 stmt = org . neo4j . jdbc . IDENT_0 . IDENT_2 . newInstance ( false , org . neo4j . jdbc . IDENT_0 . utils . IDENT_3 . METHOD_1 ( ) ) ; java . lang . String IDENT_4 = STRING_0 ; java . lang . String IDENT_5 = STRING_1 ; stmt . METHOD_2 ( IDENT_4 ) ; stmt . METHOD_2 ( IDENT_5 ) ; org . neo4j . driver . v1 . IDENT_6 session = org . mockito . Mockito . mock ( org . neo4j . driver . v1 . IDENT_6 . class ) ; org . neo4j . driver . v1 . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . neo4j . driver . v1 . IDENT_7 . class ) ; org . neo4j . driver . v1 . IDENT_9 . IDENT_10 IDENT_11 = org . mockito . Mockito . mock ( org . neo4j . driver . v1 . IDENT_9 . IDENT_10 . class ) ; org . neo4j . driver . v1 . IDENT_9 . IDENT_12 IDENT_13 = org . mockito . Mockito . mock ( org . neo4j . driver . v1 . IDENT_9 . IDENT_12 . class ) ; org . mockito . Mockito . when ( session . run ( anyString ( ) ) ) . thenReturn ( IDENT_8 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( ) ) . thenReturn ( IDENT_11 ) ; org . mockito . Mockito . when ( IDENT_11 . METHOD_4 ( ) ) . thenReturn ( IDENT_13 ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_5 ( ) ) . thenReturn ( 1 ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_6 ( ) ) . thenReturn ( 0 ) ; org . neo4j . jdbc . IDENT_0 . IDENT_14 connection = ( ( org . neo4j . jdbc . IDENT_0 . IDENT_14 ) ( stmt . METHOD_7 ( ) ) ) ; org . mockito . Mockito . when ( connection . METHOD_8 ( ) ) . thenReturn ( session ) ; org . mockito . Mockito . when ( connection . METHOD_9 ( ) ) . thenReturn ( true ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { this . METHOD_11 ( ) ; int [ ] result = new int [ 0 ] ; try { for ( java . lang . String query : this . IDENT_15 ) { org . neo4j . driver . v1 . IDENT_7 res ; if ( this . connection . METHOD_9 ( ) ) { res = ( ( org . neo4j . jdbc . IDENT_0 . IDENT_14 ) ( connection ) ) . METHOD_8 ( ) . run ( query ) ; } else { res = ( ( org . neo4j . jdbc . IDENT_0 . IDENT_14 ) ( connection ) ) . METHOD_12 ( ) . run ( query ) ; } org . neo4j . driver . v1 . IDENT_9 . IDENT_12 count = res . METHOD_3 ( ) . METHOD_4 ( ) ; result = java . util . Arrays . METHOD_13 ( result , ( ( result . length ) + 1 ) ) ; result [ ( ( result . length ) - 1 ) ] = ( count . METHOD_5 ( ) ) + ( count . METHOD_6 ( ) ) ; } } catch ( java . lang . Exception e ) { throw new java . sql . METHOD_14 ( result , e ) ; } return result ; }
org . junit . Assert . assertArrayEquals ( new int [ ] { 1 , 1 } , stmt . METHOD_10 ( ) )