// ReadIndex provides a mock function with given fields: ctx, rctx
ReadIndex provides a mock function with given fields: ctx, rctx
// ReadIndex provides a mock function with given fields : ctx rctx
func (_m *mockRaftNode) ReadIndex(ctx context.Context, rctx []byte) error {
	ret := _m.Called(ctx, rctx)
	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context, []byte) error); ok {
		r0 = rf(ctx, rctx)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func ( _m * mockRaftNode ) ReadIndex ( ctx context . Context , rctx [ ] byte ) error { ret := _m . Called ( ctx , rctx ) var r0 error if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , [ ] byte ) error ) ; ok { r0 = rf ( ctx , rctx ) } else { r0 = ret . Error ( 0 ) } return r0 }
ReadIndex provides a mock function with given fields: ctx, rctx
ReadIndex provides a mock function with given fields : ctx rctx