mock_inventory

package
Version: 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL