Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockemailSender
- type MockemailSenderMockRecorder
- type MockrecommendationProvider
- type MockrecommendationProviderMockRecorder
- type MockstockGetter
- type MockstockGetterMockRecorder
- type MockstockRecommendator
- type MockstockRecommendatorMockRecorder
- type MockuserprofileGetter
- type MockuserprofileGetterMockRecorder
- type MockwatchlistList
- type MockwatchlistListMockRecorder
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 ¶
func (m *MockemailSender) EXPECT() *MockemailSenderMockRecorder
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 ¶
func (m *MockrecommendationProvider) EXPECT() *MockrecommendationProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockstockGetter) EXPECT() *MockstockGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockstockRecommendator) EXPECT() *MockstockRecommendatorMockRecorder
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 ¶
func (m *MockuserprofileGetter) EXPECT() *MockuserprofileGetterMockRecorder
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 ¶
func (m *MockwatchlistList) EXPECT() *MockwatchlistListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockwatchlistListMockRecorder ¶
type MockwatchlistListMockRecorder struct {
// contains filtered or unexported fields
}
MockwatchlistListMockRecorder is the mock recorder for MockwatchlistList
func (*MockwatchlistListMockRecorder) List ¶
func (mr *MockwatchlistListMockRecorder) List() *gomock.Call
List indicates an expected call of List