func (_m *mockRaftNode) Campaign(ctx context.Context) error {
	ret := _m.Called(ctx)

	var r0 error
	if rf, ok := ret.Get(0).(func(context.Context) error); ok {
		r0 = rf(ctx)
	} else {
		r0 = ret.Error(0)
	}

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