mock_application

package
v0.0.0-...-4eaab68 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_application is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProductInterface

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

MockProductInterface is a mock of ProductInterface interface.

func NewMockProductInterface

func NewMockProductInterface(ctrl *gomock.Controller) *MockProductInterface

NewMockProductInterface creates a new mock instance.

func (*MockProductInterface) Disable

func (m *MockProductInterface) Disable() error

Disable mocks base method.

func (*MockProductInterface) EXPECT

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

func (*MockProductInterface) Enable

func (m *MockProductInterface) Enable() error

Enable mocks base method.

func (*MockProductInterface) GetID

func (m *MockProductInterface) GetID() string

GetID mocks base method.

func (*MockProductInterface) GetName

func (m *MockProductInterface) GetName() string

GetName mocks base method.

func (*MockProductInterface) GetPrice

func (m *MockProductInterface) GetPrice() float64

GetPrice mocks base method.

func (*MockProductInterface) GetStatus

func (m *MockProductInterface) GetStatus() string

GetStatus mocks base method.

func (*MockProductInterface) IsValid

func (m *MockProductInterface) IsValid() (bool, error)

IsValid mocks base method.

type MockProductInterfaceMockRecorder

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

MockProductInterfaceMockRecorder is the mock recorder for MockProductInterface.

func (*MockProductInterfaceMockRecorder) Disable

Disable indicates an expected call of Disable.

func (*MockProductInterfaceMockRecorder) Enable

Enable indicates an expected call of Enable.

func (*MockProductInterfaceMockRecorder) GetID

GetID indicates an expected call of GetID.

func (*MockProductInterfaceMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockProductInterfaceMockRecorder) GetPrice

GetPrice indicates an expected call of GetPrice.

func (*MockProductInterfaceMockRecorder) GetStatus

func (mr *MockProductInterfaceMockRecorder) GetStatus() *gomock.Call

GetStatus indicates an expected call of GetStatus.

func (*MockProductInterfaceMockRecorder) IsValid

IsValid indicates an expected call of IsValid.

type MockProductPersistenceInterface

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

MockProductPersistenceInterface is a mock of ProductPersistenceInterface interface.

func NewMockProductPersistenceInterface

func NewMockProductPersistenceInterface(ctrl *gomock.Controller) *MockProductPersistenceInterface

NewMockProductPersistenceInterface creates a new mock instance.

func (*MockProductPersistenceInterface) EXPECT

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

func (*MockProductPersistenceInterface) Get

Get mocks base method.

func (*MockProductPersistenceInterface) Save

Save mocks base method.

type MockProductPersistenceInterfaceMockRecorder

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

MockProductPersistenceInterfaceMockRecorder is the mock recorder for MockProductPersistenceInterface.

func (*MockProductPersistenceInterfaceMockRecorder) Get

func (mr *MockProductPersistenceInterfaceMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockProductPersistenceInterfaceMockRecorder) Save

func (mr *MockProductPersistenceInterfaceMockRecorder) Save(product interface{}) *gomock.Call

Save indicates an expected call of Save.

type MockProductReader

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

MockProductReader is a mock of ProductReader interface.

func NewMockProductReader

func NewMockProductReader(ctrl *gomock.Controller) *MockProductReader

NewMockProductReader creates a new mock instance.

func (*MockProductReader) EXPECT

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

func (*MockProductReader) Get

Get mocks base method.

type MockProductReaderMockRecorder

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

MockProductReaderMockRecorder is the mock recorder for MockProductReader.

func (*MockProductReaderMockRecorder) Get

func (mr *MockProductReaderMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockProductServiceInterface

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

MockProductServiceInterface is a mock of ProductServiceInterface interface.

func NewMockProductServiceInterface

func NewMockProductServiceInterface(ctrl *gomock.Controller) *MockProductServiceInterface

NewMockProductServiceInterface creates a new mock instance.

func (*MockProductServiceInterface) Create

Create mocks base method.

func (*MockProductServiceInterface) Disable

Disable mocks base method.

func (*MockProductServiceInterface) EXPECT

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

func (*MockProductServiceInterface) Enable

Enable mocks base method.

func (*MockProductServiceInterface) Get

Get mocks base method.

type MockProductServiceInterfaceMockRecorder

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

MockProductServiceInterfaceMockRecorder is the mock recorder for MockProductServiceInterface.

func (*MockProductServiceInterfaceMockRecorder) Create

func (mr *MockProductServiceInterfaceMockRecorder) Create(name, price interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockProductServiceInterfaceMockRecorder) Disable

func (mr *MockProductServiceInterfaceMockRecorder) Disable(product interface{}) *gomock.Call

Disable indicates an expected call of Disable.

func (*MockProductServiceInterfaceMockRecorder) Enable

func (mr *MockProductServiceInterfaceMockRecorder) Enable(product interface{}) *gomock.Call

Enable indicates an expected call of Enable.

func (*MockProductServiceInterfaceMockRecorder) Get

func (mr *MockProductServiceInterfaceMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockProductWriter

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

MockProductWriter is a mock of ProductWriter interface.

func NewMockProductWriter

func NewMockProductWriter(ctrl *gomock.Controller) *MockProductWriter

NewMockProductWriter creates a new mock instance.

func (*MockProductWriter) EXPECT

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

func (*MockProductWriter) Save

Save mocks base method.

type MockProductWriterMockRecorder

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

MockProductWriterMockRecorder is the mock recorder for MockProductWriter.

func (*MockProductWriterMockRecorder) Save

func (mr *MockProductWriterMockRecorder) Save(product interface{}) *gomock.Call

Save indicates an expected call of Save.

Jump to

Keyboard shortcuts

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