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_2 . METHOD_2 ( ) ) . thenReturn ( version ) ; when ( IDENT_3 . METHOD_3 ( version ) ) . thenReturn ( null ) ; when ( IDENT_2 . METHOD_4 ( version ) ) . thenReturn ( true ) ; when ( IDENT_2 . METHOD_5 ( version ) ) . thenReturn ( new org . neo4j . kernel . impl . transaction . log . entry . METHOD_6 ( ( ( byte ) ( - 1 ) ) , ( - 1L ) , ( expected - 1L ) ) ) ; when ( IDENT_2 . METHOD_7 ( version ) ) . thenReturn ( true ) ; long IDENT_4 = info . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , times ( 1 ) ) . METHOD_9 ( version , ( expected - 1 ) ) ; } METHOD_8 ( ) { long version = IDENT_2 . METHOD_2 ( ) ; long IDENT_5 = - 1 ; while ( IDENT_2 . METHOD_4 ( version ) ) { IDENT_5 = METHOD_10 ( version ) ; version OP_0 ; } version ++ ; return IDENT_2 . METHOD_7 ( version ) ? IDENT_5 : - 1 ; }
org . junit . Assert . assertEquals ( expected , IDENT_4 )