METHOD_0 ( ) { org . neo4j . internal . kernel . api . IDENT_0 IDENT_1 = mock ( org . neo4j . internal . kernel . api . IDENT_0 . class ) ; when ( IDENT_1 . next ( ) ) . thenReturn ( true ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( INT_0 ) ; long IDENT_2 = org . neo4j . kernel . impl . IDENT_3 . IDENT_4 . apply ( IDENT_5 , IDENT_6 . IDENT_7 , ( ) -> IDENT_1 , IDENT_8 , read , index , IDENT_9 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . METHOD_2 ( IDENT_6 . IDENT_7 , org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_11 ) ; METHOD_3 ( IDENT_5 ) ; verify ( IDENT_1 ) . close ( ) ; } apply ( org . neo4j . kernel . impl . IDENT_12 . IDENT_13 , org . neo4j . IDENT_14 . api . IDENT_15 . IDENT_6 , java . util . function . IDENT_16 , org . neo4j . kernel . impl . IDENT_3 . IDENT_17 , org . neo4j . kernel . impl . IDENT_3 . IDENT_18 , org . neo4j . internal . kernel . api . IDENT_19 , org . neo4j . internal . kernel . api . IDENT_20 [ ] ) { int [ ] IDENT_21 = index . schema ( ) . METHOD_4 ( ) ; if ( ( IDENT_21 . length ) != 1 ) { throw new org . neo4j . internal . kernel . api . exceptions . schema . METHOD_5 ( ( ( STRING_0 + index ) + STRING_1 ) ) ; } long IDENT_22 = METHOD_6 ( IDENT_21 [ 0 ] , IDENT_23 ) ; IDENT_5 . METHOD_2 ( IDENT_24 , org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_22 ) ; try ( IDENT_25 IDENT_1 = IDENT_26 . get ( ) ; org . neo4j . kernel . impl . IDENT_3 . IDENT_27 IDENT_28 = new org . neo4j . kernel . impl . IDENT_3 . METHOD_7 ( index , read ) ) { IDENT_29 . METHOD_8 ( IDENT_1 , IDENT_28 . METHOD_9 ( ) , IDENT_23 ) ; if ( ! ( IDENT_1 . next ( ) ) ) { IDENT_5 . METHOD_10 ( org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_22 ) ; IDENT_5 . METHOD_11 ( IDENT_24 , org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_22 ) ; IDENT_29 . METHOD_8 ( IDENT_1 , IDENT_28 . METHOD_9 ( ) , IDENT_23 ) ; if ( IDENT_1 . next ( ) ) { IDENT_5 . METHOD_2 ( IDENT_24 , org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_22 ) ; IDENT_5 . METHOD_12 ( org . neo4j . kernel . impl . IDENT_3 . IDENT_10 , IDENT_22 ) ; } } return IDENT_1 . METHOD_1 ( ) ; } }
org . junit . Assert . assertEquals ( INT_0 , IDENT_2 )