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: 4 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 MockstockClient

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

MockstockClient is a mock of stockClient interface

func NewMockstockClient

func NewMockstockClient(ctrl *gomock.Controller) *MockstockClient

NewMockstockClient creates a new mock instance

func (*MockstockClient) EXPECT

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

func (*MockstockClient) Get

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

Get mocks base method

func (*MockstockClient) RegisterStock

func (m *MockstockClient) RegisterStock(symbol string) error

RegisterStock mocks base method

type MockstockClientMockRecorder

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

MockstockClientMockRecorder is the mock recorder for MockstockClient

func (*MockstockClientMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockstockClientMockRecorder) RegisterStock

func (mr *MockstockClientMockRecorder) RegisterStock(symbol interface{}) *gomock.Call

RegisterStock indicates an expected call of RegisterStock

type MockuserprofileClient

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

MockuserprofileClient is a mock of userprofileClient interface

func NewMockuserprofileClient

func NewMockuserprofileClient(ctrl *gomock.Controller) *MockuserprofileClient

NewMockuserprofileClient creates a new mock instance

func (*MockuserprofileClient) EXPECT

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

func (*MockuserprofileClient) GetUserprofile

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

GetUserprofile mocks base method

type MockuserprofileClientMockRecorder

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

MockuserprofileClientMockRecorder is the mock recorder for MockuserprofileClient

func (*MockuserprofileClientMockRecorder) GetUserprofile

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

GetUserprofile indicates an expected call of GetUserprofile

Jump to

Keyboard shortcuts

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