METHOD_0 ( ) { org . neo4j . kernel . impl . transaction . log . IDENT_0 . IDENT_1 info = new org . neo4j . kernel . impl . transaction . log . IDENT_0 . METHOD_1 ( IDENT_2 , IDENT_3 , context ) ; long expected = 5 ; long version = INT_0 ; when ( IDENT_3 . METHOD_2 ( version ) ) . thenReturn ( null ) ; when ( IDENT_2 . METHOD_3 ( version ) ) . thenReturn ( true ) ; when ( IDENT_2 . METHOD_4 ( version ) ) . thenReturn ( new org . neo4j . kernel . impl . transaction . log . entry . METHOD_5 ( ( ( byte ) ( - 1 ) ) , ( - 1L ) , ( expected - 1L ) ) ) ; long IDENT_4 = info . METHOD_6 ( version ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , times ( 1 ) ) . METHOD_7 ( version , ( expected - 1 ) ) ; } METHOD_6 ( long ) { java . lang . Long IDENT_5 = IDENT_3 . METHOD_2 ( version ) ; if ( IDENT_5 != null ) { return IDENT_5 + 1 ; } if ( IDENT_2 . METHOD_3 ( version ) ) { long IDENT_6 = IDENT_2 . METHOD_4 ( version ) . IDENT_7 ; IDENT_3 . METHOD_7 ( version , IDENT_6 ) ; return IDENT_6 + 1 ; } return - 1 ; }
org . junit . Assert . assertEquals ( expected , IDENT_4 )