mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockemailSender

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

MockemailSender is a mock of emailSender interface

func NewMockemailSender

func NewMockemailSender(ctrl *gomock.Controller) *MockemailSender

NewMockemailSender creates a new mock instance

func (*MockemailSender) EXPECT

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

func (*MockemailSender) SendNotification

func (m *MockemailSender) SendNotification(profileName string, removed, added, currentStocks []string, email string) error

SendNotification mocks base method

type MockemailSenderMockRecorder

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

MockemailSenderMockRecorder is the mock recorder for MockemailSender

func (*MockemailSenderMockRecorder) SendNotification

func (mr *MockemailSenderMockRecorder) SendNotification(profileName, removed, added, currentStocks, email interface{}) *gomock.Call

SendNotification indicates an expected call of SendNotification

type MockrecommendationProvider

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

MockrecommendationProvider is a mock of recommendationProvider interface

func NewMockrecommendationProvider

func NewMockrecommendationProvider(ctrl *gomock.Controller) *MockrecommendationProvider

NewMockrecommendationProvider creates a new mock instance

func (*MockrecommendationProvider) EXPECT

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

func (*MockrecommendationProvider) Get

Get mocks base method

func (*MockrecommendationProvider) Update

func (m *MockrecommendationProvider) Update(log *logrus.Entry, id primitive.ObjectID, stocks []string) error

Update mocks base method

type MockrecommendationProviderMockRecorder

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

MockrecommendationProviderMockRecorder is the mock recorder for MockrecommendationProvider

func (*MockrecommendationProviderMockRecorder) Get

func (mr *MockrecommendationProviderMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockrecommendationProviderMockRecorder) Update

func (mr *MockrecommendationProviderMockRecorder) Update(log, id, stocks interface{}) *gomock.Call

Update indicates an expected call of Update

type MockstockGetter

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

MockstockGetter is a mock of stockGetter interface

func NewMockstockGetter

func NewMockstockGetter(ctrl *gomock.Controller) *MockstockGetter

NewMockstockGetter creates a new mock instance

func (*MockstockGetter) EXPECT

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

func (*MockstockGetter) Get

func (m *MockstockGetter) Get(symbol string) (model0.StockData, error)

Get mocks base method

type MockstockGetterMockRecorder

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

MockstockGetterMockRecorder is the mock recorder for MockstockGetter

func (*MockstockGetterMockRecorder) Get

func (mr *MockstockGetterMockRecorder) Get(symbol interface{}) *gomock.Call

Get indicates an expected call of Get

type MockstockRecommendator

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

MockstockRecommendator is a mock of stockRecommendator interface

func NewMockstockRecommendator

func NewMockstockRecommendator(ctrl *gomock.Controller) *MockstockRecommendator

NewMockstockRecommendator creates a new mock instance

func (*MockstockRecommendator) EXPECT

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

func (*MockstockRecommendator) GetAllRecommendedStock

func (m *MockstockRecommendator) GetAllRecommendedStock(stocks []model0.StockData, numReqs int, userprofile *model.Userprofile) []model0.CalculatedStockInfo

GetAllRecommendedStock mocks base method

type MockstockRecommendatorMockRecorder

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

MockstockRecommendatorMockRecorder is the mock recorder for MockstockRecommendator

func (*MockstockRecommendatorMockRecorder) GetAllRecommendedStock

func (mr *MockstockRecommendatorMockRecorder) GetAllRecommendedStock(stocks, numReqs, userprofile interface{}) *gomock.Call

GetAllRecommendedStock indicates an expected call of GetAllRecommendedStock

type MockuserprofileGetter

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

MockuserprofileGetter is a mock of userprofileGetter interface

func NewMockuserprofileGetter

func NewMockuserprofileGetter(ctrl *gomock.Controller) *MockuserprofileGetter

NewMockuserprofileGetter creates a new mock instance

func (*MockuserprofileGetter) EXPECT

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

func (*MockuserprofileGetter) GetUserprofile

func (m *MockuserprofileGetter) GetUserprofile(userId string) (model.Userprofile, error)

GetUserprofile mocks base method

type MockuserprofileGetterMockRecorder

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

MockuserprofileGetterMockRecorder is the mock recorder for MockuserprofileGetter

func (*MockuserprofileGetterMockRecorder) GetUserprofile

func (mr *MockuserprofileGetterMockRecorder) GetUserprofile(userId interface{}) *gomock.Call

GetUserprofile indicates an expected call of GetUserprofile

type MockwatchlistList

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

MockwatchlistList is a mock of watchlistList interface

func NewMockwatchlistList

func NewMockwatchlistList(ctrl *gomock.Controller) *MockwatchlistList

NewMockwatchlistList creates a new mock instance

func (*MockwatchlistList) EXPECT

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

func (*MockwatchlistList) List

func (m *MockwatchlistList) List() ([]model0.Watchlist, error)

List mocks base method

type MockwatchlistListMockRecorder

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

MockwatchlistListMockRecorder is the mock recorder for MockwatchlistList

func (*MockwatchlistListMockRecorder) List

List indicates an expected call of List

Jump to

Keyboard shortcuts

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