mock_customer

package
v0.0.0-...-1f03132 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_customer is a generated GoMock package.

Package mock_customer is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCustomerInterface

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

MockCustomerInterface is a mock of CustomerInterface interface.

func NewMockCustomerInterface

func NewMockCustomerInterface(ctrl *gomock.Controller) *MockCustomerInterface

NewMockCustomerInterface creates a new mock instance.

func (*MockCustomerInterface) EXPECT

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

func (*MockCustomerInterface) GetBirth

func (m *MockCustomerInterface) GetBirth() string

GetBirth mocks base method.

func (*MockCustomerInterface) GetCpf

func (m *MockCustomerInterface) GetCpf() string

GetCpf mocks base method.

func (*MockCustomerInterface) GetID

func (m *MockCustomerInterface) GetID() string

GetID mocks base method.

func (*MockCustomerInterface) GetName

func (m *MockCustomerInterface) GetName() string

GetName mocks base method.

func (*MockCustomerInterface) IsValid

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

IsValid mocks base method.

type MockCustomerInterfaceMockRecorder

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

MockCustomerInterfaceMockRecorder is the mock recorder for MockCustomerInterface.

func (*MockCustomerInterfaceMockRecorder) GetBirth

GetBirth indicates an expected call of GetBirth.

func (*MockCustomerInterfaceMockRecorder) GetCpf

GetCpf indicates an expected call of GetCpf.

func (*MockCustomerInterfaceMockRecorder) GetID

GetID indicates an expected call of GetID.

func (*MockCustomerInterfaceMockRecorder) GetName

GetName indicates an expected call of GetName.

func (*MockCustomerInterfaceMockRecorder) IsValid

IsValid indicates an expected call of IsValid.

type MockCustomerServiceInterface

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

MockCustomerServiceInterface is a mock of CustomerServiceInterface interface.

func NewMockCustomerServiceInterface

func NewMockCustomerServiceInterface(ctrl *gomock.Controller) *MockCustomerServiceInterface

NewMockCustomerServiceInterface creates a new mock instance.

func (*MockCustomerServiceInterface) Create

func (m *MockCustomerServiceInterface) Create(name, cpf, birth string) (customers.CustomerInterface, error)

Create mocks base method.

func (*MockCustomerServiceInterface) EXPECT

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

func (*MockCustomerServiceInterface) FindCustomerByCpf

FindCustomerByCpf mocks base method.

type MockCustomerServiceInterfaceMockRecorder

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

MockCustomerServiceInterfaceMockRecorder is the mock recorder for MockCustomerServiceInterface.

func (*MockCustomerServiceInterfaceMockRecorder) Create

func (mr *MockCustomerServiceInterfaceMockRecorder) Create(name, cpf, birth interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCustomerServiceInterfaceMockRecorder) FindCustomerByCpf

func (mr *MockCustomerServiceInterfaceMockRecorder) FindCustomerByCpf(id interface{}) *gomock.Call

FindCustomerByCpf indicates an expected call of FindCustomerByCpf.

type MockCustomerStoreInterface

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

MockCustomerStoreInterface is a mock of CustomerStoreInterface interface.

func NewMockCustomerStoreInterface

func NewMockCustomerStoreInterface(ctrl *gomock.Controller) *MockCustomerStoreInterface

NewMockCustomerStoreInterface creates a new mock instance.

func (*MockCustomerStoreInterface) EXPECT

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

func (*MockCustomerStoreInterface) FindByCpf

FindByCpf mocks base method.

func (*MockCustomerStoreInterface) Save

Save mocks base method.

type MockCustomerStoreInterfaceMockRecorder

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

MockCustomerStoreInterfaceMockRecorder is the mock recorder for MockCustomerStoreInterface.

func (*MockCustomerStoreInterfaceMockRecorder) FindByCpf

func (mr *MockCustomerStoreInterfaceMockRecorder) FindByCpf(cpf interface{}) *gomock.Call

FindByCpf indicates an expected call of FindByCpf.

func (*MockCustomerStoreInterfaceMockRecorder) Save

func (mr *MockCustomerStoreInterfaceMockRecorder) Save(customer 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