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