METHOD_0 ( ) { final org . neo4j . kernel . impl . transaction . log . IDENT_0 IDENT_1 = new org . neo4j . kernel . impl . transaction . log . METHOD_1 ( IDENT_2 ) ; final org . neo4j . io . fs . IDENT_3 IDENT_4 = mock ( org . neo4j . io . fs . IDENT_3 . class ) ; when ( IDENT_4 . read ( any ( java . nio . ByteBuffer . class ) ) ) . thenReturn ( ( ( IDENT_5 ) / 2 ) ) ; when ( channel . METHOD_2 ( ) ) . thenReturn ( version ) ; when ( fs . METHOD_3 ( any ( java . io . File . class ) ) ) . thenReturn ( true ) ; when ( fs . METHOD_4 ( any ( java . io . File . class ) , eq ( IDENT_6 . IDENT_7 ) ) ) . thenReturn ( IDENT_4 ) ; final org . neo4j . kernel . impl . transaction . log . IDENT_8 result = IDENT_1 . next ( channel ) ; "<AssertPlaceHolder>" ; verify ( channel , METHOD_5 ( ) ) . close ( ) ; } next ( long ) { throw new java . lang . METHOD_6 ( ) ; }
org . junit . Assert . assertEquals ( channel , result )