mock

package
v0.0.0-...-e2133d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

type MockClock struct {
	// contains filtered or unexported fields
}

MockClock is a mock of Clock interface

func NewMockClock

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance

func (*MockClock) EXPECT

func (m *MockClock) EXPECT() *MockClockMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClock) Now

func (m *MockClock) Now() time.Time

Now mocks base method

type MockClockMockRecorder

type MockClockMockRecorder struct {
	// contains filtered or unexported fields
}

MockClockMockRecorder is the mock recorder for MockClock

func (*MockClockMockRecorder) Now

func (mr *MockClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now

type MockFinalSurge

type MockFinalSurge struct {
	// contains filtered or unexported fields
}

MockFinalSurge is a mock of FinalSurge interface

func NewMockFinalSurge

func NewMockFinalSurge(ctrl *gomock.Controller) *MockFinalSurge

NewMockFinalSurge creates a new mock instance

func (*MockFinalSurge) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFinalSurge) Login

func (m *MockFinalSurge) Login(ctx context.Context, email, password string) (bot.UserToken, error)

Login mocks base method

func (*MockFinalSurge) Workouts

func (m *MockFinalSurge) Workouts(ctx context.Context, userToken bot.UserToken, startDate, endDate time.Time) ([]bot.Workout, error)

Workouts mocks base method

type MockFinalSurgeMockRecorder

type MockFinalSurgeMockRecorder struct {
	// contains filtered or unexported fields
}

MockFinalSurgeMockRecorder is the mock recorder for MockFinalSurge

func (*MockFinalSurgeMockRecorder) Login

func (mr *MockFinalSurgeMockRecorder) Login(ctx, email, password interface{}) *gomock.Call

Login indicates an expected call of Login

func (*MockFinalSurgeMockRecorder) Workouts

func (mr *MockFinalSurgeMockRecorder) Workouts(ctx, userToken, startDate, endDate interface{}) *gomock.Call

Workouts indicates an expected call of Workouts

type MockSender

type MockSender struct {
	// contains filtered or unexported fields
}

MockSender is a mock of Sender interface

func NewMockSender

func NewMockSender(ctrl *gomock.Controller) *MockSender

NewMockSender creates a new mock instance

func (*MockSender) EXPECT

func (m *MockSender) EXPECT() *MockSenderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSender) Send

Send mocks base method

type MockSenderMockRecorder

type MockSenderMockRecorder struct {
	// contains filtered or unexported fields
}

MockSenderMockRecorder is the mock recorder for MockSender

func (*MockSenderMockRecorder) Send

func (mr *MockSenderMockRecorder) Send(msg interface{}) *gomock.Call

Send indicates an expected call of Send

type MockStorage

type MockStorage struct {
	// contains filtered or unexported fields
}

MockStorage is a mock of Storage interface

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStorage) UpdateUserToken

func (m *MockStorage) UpdateUserToken(ctx context.Context, userName string, userToken bot.UserToken) error

UpdateUserToken mocks base method

func (*MockStorage) UserToken

func (m *MockStorage) UserToken(ctx context.Context, userName string) (bot.UserToken, error)

UserToken mocks base method

type MockStorageMockRecorder

type MockStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageMockRecorder is the mock recorder for MockStorage

func (*MockStorageMockRecorder) UpdateUserToken

func (mr *MockStorageMockRecorder) UpdateUserToken(ctx, userName, userToken interface{}) *gomock.Call

UpdateUserToken indicates an expected call of UpdateUserToken

func (*MockStorageMockRecorder) UserToken

func (mr *MockStorageMockRecorder) UserToken(ctx, userName interface{}) *gomock.Call

UserToken indicates an expected call of UserToken

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL