Documentation ¶
Overview ¶
Package mock_inventory is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUnderlyingStore ¶
type MockUnderlyingStore struct {
// contains filtered or unexported fields
}
MockUnderlyingStore is a mock of UnderlyingStore interface
func NewMockUnderlyingStore ¶
func NewMockUnderlyingStore(ctrl *gomock.Controller) *MockUnderlyingStore
NewMockUnderlyingStore creates a new mock instance
func (*MockUnderlyingStore) EXPECT ¶
func (m *MockUnderlyingStore) EXPECT() *MockUnderlyingStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUnderlyingStore) GetProductByID ¶
func (m *MockUnderlyingStore) GetProductByID(ID uint) (*store.Product, error)
GetProductByID mocks base method
func (*MockUnderlyingStore) SetProducts ¶
func (m *MockUnderlyingStore) SetProducts(products ...*store.Product) (*store.ProductTransaction, error)
SetProducts mocks base method
type MockUnderlyingStoreMockRecorder ¶
type MockUnderlyingStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockUnderlyingStoreMockRecorder is the mock recorder for MockUnderlyingStore
func (*MockUnderlyingStoreMockRecorder) GetProductByID ¶
func (mr *MockUnderlyingStoreMockRecorder) GetProductByID(ID interface{}) *gomock.Call
GetProductByID indicates an expected call of GetProductByID
func (*MockUnderlyingStoreMockRecorder) SetProducts ¶
func (mr *MockUnderlyingStoreMockRecorder) SetProducts(products ...interface{}) *gomock.Call
SetProducts indicates an expected call of SetProducts
Click to show internal directories.
Click to hide internal directories.