func (mr *MockRateLimiterMockRecorder) Wait(ctx interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Wait", reflect.TypeOf((*MockRateLimiter)(nil).Wait), ctx)
}
Wait indicates an expected call of Wait.
package quotas
import (
	context "context"
	reflect "reflect"
	time "time"
	gomock "github.com/golang/mock/gomock"
)
type MockRateLimiter struct {
	ctrl     *gomock.Controller
	recorder *MockRateLimiterMockRecorder
}
type MockRateLimiterMockRecorder struct {
	mock *MockRateLimiter
}
func NewMockRateLimiter(ctrl *gomock.Controller) *MockRateLimiter {
	mock := &MockRateLimiter{ctrl: ctrl}
	mock.recorder = &MockRateLimiterMockRecorder{mock}
	return mock
}
func (m *MockRateLimiter) EXPECT() *MockRateLimiterMockRecorder {
	return m.recorder
}
func (m *MockRateLimiter) Allow() bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Allow")
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) Allow() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Allow", reflect.TypeOf((*MockRateLimiter)(nil).Allow))
}
func (m *MockRateLimiter) AllowN(now time.Time, numToken int) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AllowN", now, numToken)
	ret0, _ := ret[0].(bool)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) AllowN(now, numToken interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AllowN", reflect.TypeOf((*MockRateLimiter)(nil).AllowN), now, numToken)
}
func (m *MockRateLimiter) Burst() int {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Burst")
	ret0, _ := ret[0].(int)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) Burst() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Burst", reflect.TypeOf((*MockRateLimiter)(nil).Burst))
}
func (m *MockRateLimiter) Rate() float64 {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Rate")
	ret0, _ := ret[0].(float64)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) Rate() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Rate", reflect.TypeOf((*MockRateLimiter)(nil).Rate))
}
func (m *MockRateLimiter) Reserve() Reservation {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Reserve")
	ret0, _ := ret[0].(Reservation)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) Reserve() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Reserve", reflect.TypeOf((*MockRateLimiter)(nil).Reserve))
}
func (m *MockRateLimiter) ReserveN(now time.Time, numToken int) Reservation {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ReserveN", now, numToken)
	ret0, _ := ret[0].(Reservation)
	return ret0
}
func (mr *MockRateLimiterMockRecorder) ReserveN(now, numToken interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReserveN", reflect.TypeOf((*MockRateLimiter)(nil).ReserveN), now, numToken)
}
func (m *MockRateLimiter) Wait(ctx context.Context) error {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Wait", ctx)
	ret0, _ := ret[0].(error)
	return ret0
}