Documentation ¶
Overview ¶
Package gomock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) Close ¶
func (mr *MockStoreMockRecorder) Close(at interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(name interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreMockRecorder) Open ¶
func (mr *MockStoreMockRecorder) Open(at interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockStoreMockRecorder) Sell ¶
func (mr *MockStoreMockRecorder) Sell(id, quantity interface{}) *gomock.Call
Sell indicates an expected call of Sell.
Click to show internal directories.
Click to hide internal directories.