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
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 ¶
func (m *MockFinalSurge) EXPECT() *MockFinalSurgeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockSender) Send(msg telegram_bot_api.Chattable) (telegram_bot_api.Message, error)
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
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