mock

package
v0.0.0-...-2b1a315 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBureauService

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

MockBureauService is a mock of BureauService interface.

func NewMockBureauService

func NewMockBureauService(ctrl *gomock.Controller) *MockBureauService

NewMockBureauService creates a new mock instance.

func (*MockBureauService) EXPECT

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

func (*MockBureauService) Fetch

func (m *MockBureauService) Fetch(cnpj, cpf string) (bureaus.Empresa, error)

Fetch mocks base method.

type MockBureauServiceMockRecorder

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

MockBureauServiceMockRecorder is the mock recorder for MockBureauService.

func (*MockBureauServiceMockRecorder) Fetch

func (mr *MockBureauServiceMockRecorder) Fetch(cnpj, cpf any) *gomock.Call

Fetch indicates an expected call of Fetch.

type MockCompanyService

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

MockCompanyService is a mock of CompanyService interface.

func NewMockCompanyService

func NewMockCompanyService(ctrl *gomock.Controller) *MockCompanyService

NewMockCompanyService creates a new mock instance.

func (*MockCompanyService) EXPECT

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

func (*MockCompanyService) SaveCompany

func (m *MockCompanyService) SaveCompany(ctx context.Context, company credit.Company) error

SaveCompany mocks base method.

type MockCompanyServiceMockRecorder

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

MockCompanyServiceMockRecorder is the mock recorder for MockCompanyService.

func (*MockCompanyServiceMockRecorder) SaveCompany

func (mr *MockCompanyServiceMockRecorder) SaveCompany(ctx, company any) *gomock.Call

SaveCompany indicates an expected call of SaveCompany.

Jump to

Keyboard shortcuts

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