func (m *MockAuthorizationStore) Delete(code string) error {
	ret := m.ctrl.Call(m, "Delete", code)
	ret0, _ := ret[0].(error)
	return ret0
}
Delete mocks base method
package models
import (
	gomock "github.com/golang/mock/gomock"
	reflect "reflect"
	time "time"
)
type MockAuthorizationStore struct {
	ctrl     *gomock.Controller
	recorder *MockAuthorizationStoreMockRecorder
}
type MockAuthorizationStoreMockRecorder struct {
	mock *MockAuthorizationStore
}
func NewMockAuthorizationStore(ctrl *gomock.Controller) *MockAuthorizationStore {
	mock := &MockAuthorizationStore{ctrl: ctrl}
	mock.recorder = &MockAuthorizationStoreMockRecorder{mock}
	return mock
}
func (m *MockAuthorizationStore) EXPECT() *MockAuthorizationStoreMockRecorder {
	return m.recorder
}
func (m *MockAuthorizationStore) Set(auth *Authorization, ttl time.Duration) error {
	ret := m.ctrl.Call(m, "Set", auth, ttl)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockAuthorizationStoreMockRecorder) Set(auth, ttl interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Set", reflect.TypeOf((*MockAuthorizationStore)(nil).Set), auth, ttl)
}
func (m *MockAuthorizationStore) Get(code string) (*Authorization, error) {
	ret := m.ctrl.Call(m, "Get", code)
	ret0, _ := ret[0].(*Authorization)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockAuthorizationStoreMockRecorder) Get(code interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockAuthorizationStore)(nil).Get), code)
}