mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ICalculationInput added in v1.2.0

type ICalculationInput struct {
	mock.Mock
}

ICalculationInput is an autogenerated mock type for the ICalculationInput type

func NewICalculationInput added in v1.2.0

func NewICalculationInput(t interface {
	mock.TestingT
	Cleanup(func())
}) *ICalculationInput

NewICalculationInput creates a new instance of ICalculationInput. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ICalculationInput) Calculate added in v1.2.0

func (_m *ICalculationInput) Calculate() string

Calculate provides a mock function with given fields:

func (*ICalculationInput) GetInput added in v1.2.0

func (_m *ICalculationInput) GetInput() string

GetInput provides a mock function with given fields:

func (*ICalculationInput) Validate added in v1.2.0

func (_m *ICalculationInput) Validate() errors.WrappedError

Validate provides a mock function with given fields:

type ICalculatorService

type ICalculatorService struct {
	mock.Mock
}

ICalculatorService is an autogenerated mock type for the ICalculatorService type

func NewICalculatorService

func NewICalculatorService(t interface {
	mock.TestingT
	Cleanup(func())
}) *ICalculatorService

NewICalculatorService creates a new instance of ICalculatorService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ICalculatorService) Calculate

Calculate provides a mock function with given fields: _a0, _a1

func (*ICalculatorService) GetCalculationHistory

func (_m *ICalculatorService) GetCalculationHistory(_a0 context.Context) calculation.CalculationHistory

GetCalculationHistory provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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