mock_gateways

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_gateways is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotificationService

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

MockNotificationService is a mock of NotificationService interface

func NewMockNotificationService

func NewMockNotificationService(ctrl *gomock.Controller) *MockNotificationService

NewMockNotificationService creates a new mock instance

func (*MockNotificationService) EXPECT

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

func (*MockNotificationService) SendForecastMessage

func (m *MockNotificationService) SendForecastMessage(arg0 context.Context, arg1 domain.Recipient, arg2 interfaces.ForecastMessage) error

SendForecastMessage mocks base method

type MockNotificationServiceMockRecorder

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

MockNotificationServiceMockRecorder is the mock recorder for MockNotificationService

func (*MockNotificationServiceMockRecorder) SendForecastMessage

func (mr *MockNotificationServiceMockRecorder) SendForecastMessage(arg0, arg1, arg2 interface{}) *gomock.Call

SendForecastMessage indicates an expected call of SendForecastMessage

type MockPNGRepository

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

MockPNGRepository is a mock of PNGRepository interface

func NewMockPNGRepository

func NewMockPNGRepository(ctrl *gomock.Controller) *MockPNGRepository

NewMockPNGRepository creates a new mock instance

func (*MockPNGRepository) EXPECT

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

func (*MockPNGRepository) FindById

func (m *MockPNGRepository) FindById(arg0 context.Context, arg1 domain.ImageID) (*domain.Image, error)

FindById mocks base method

func (*MockPNGRepository) RemoveOlderThan

func (m *MockPNGRepository) RemoveOlderThan(arg0 context.Context, arg1 time.Time) (int, error)

RemoveOlderThan mocks base method

func (*MockPNGRepository) Save

func (m *MockPNGRepository) Save(arg0 context.Context, arg1 domain.Image) error

Save mocks base method

type MockPNGRepositoryMockRecorder

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

MockPNGRepositoryMockRecorder is the mock recorder for MockPNGRepository

func (*MockPNGRepositoryMockRecorder) FindById

func (mr *MockPNGRepositoryMockRecorder) FindById(arg0, arg1 interface{}) *gomock.Call

FindById indicates an expected call of FindById

func (*MockPNGRepositoryMockRecorder) RemoveOlderThan

func (mr *MockPNGRepositoryMockRecorder) RemoveOlderThan(arg0, arg1 interface{}) *gomock.Call

RemoveOlderThan indicates an expected call of RemoveOlderThan

func (*MockPNGRepositoryMockRecorder) Save

func (mr *MockPNGRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockSubscriptionRepository

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

MockSubscriptionRepository is a mock of SubscriptionRepository interface

func NewMockSubscriptionRepository

func NewMockSubscriptionRepository(ctrl *gomock.Controller) *MockSubscriptionRepository

NewMockSubscriptionRepository creates a new mock instance

func (*MockSubscriptionRepository) EXPECT

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

func (*MockSubscriptionRepository) FindBySubscriptionID

func (m *MockSubscriptionRepository) FindBySubscriptionID(arg0 context.Context, arg1 domain.UserID, arg2 domain.SubscriptionID) (*domain.Subscription, error)

FindBySubscriptionID mocks base method

func (*MockSubscriptionRepository) FindByUserID

FindByUserID mocks base method

func (*MockSubscriptionRepository) Save

Save mocks base method

type MockSubscriptionRepositoryMockRecorder

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

MockSubscriptionRepositoryMockRecorder is the mock recorder for MockSubscriptionRepository

func (*MockSubscriptionRepositoryMockRecorder) FindBySubscriptionID

func (mr *MockSubscriptionRepositoryMockRecorder) FindBySubscriptionID(arg0, arg1, arg2 interface{}) *gomock.Call

FindBySubscriptionID indicates an expected call of FindBySubscriptionID

func (*MockSubscriptionRepositoryMockRecorder) FindByUserID

func (mr *MockSubscriptionRepositoryMockRecorder) FindByUserID(arg0, arg1 interface{}) *gomock.Call

FindByUserID indicates an expected call of FindByUserID

func (*MockSubscriptionRepositoryMockRecorder) Save

func (mr *MockSubscriptionRepositoryMockRecorder) Save(arg0, arg1, arg2 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) FindAll

func (m *MockUserRepository) FindAll(arg0 context.Context) ([]domain.User, error)

FindAll mocks base method

func (*MockUserRepository) FindById

func (m *MockUserRepository) FindById(arg0 context.Context, arg1 domain.UserID) (*domain.User, error)

FindById mocks base method

func (*MockUserRepository) Save

func (m *MockUserRepository) Save(arg0 context.Context, arg1 domain.User) error

Save mocks base method

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository

func (*MockUserRepositoryMockRecorder) FindAll

func (mr *MockUserRepositoryMockRecorder) FindAll(arg0 interface{}) *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockUserRepositoryMockRecorder) FindById

func (mr *MockUserRepositoryMockRecorder) FindById(arg0, arg1 interface{}) *gomock.Call

FindById indicates an expected call of FindById

func (*MockUserRepositoryMockRecorder) Save

func (mr *MockUserRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

type MockWeatherService

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

MockWeatherService is a mock of WeatherService interface

func NewMockWeatherService

func NewMockWeatherService(ctrl *gomock.Controller) *MockWeatherService

NewMockWeatherService creates a new mock instance

func (*MockWeatherService) EXPECT

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

func (*MockWeatherService) Get

Get mocks base method

type MockWeatherServiceMockRecorder

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

MockWeatherServiceMockRecorder is the mock recorder for MockWeatherService

func (*MockWeatherServiceMockRecorder) Get

func (mr *MockWeatherServiceMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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