mock_inventory

package
v0.0.0-...-6bf1803 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

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

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

Jump to

Keyboard shortcuts

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