mocks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationProcessor

type OperationProcessor struct {
	mock.Mock
}

OperationProcessor is an autogenerated mock type for the OperationProcessor type

func NewOperationProcessor

func NewOperationProcessor(t mockConstructorTestingTNewOperationProcessor) *OperationProcessor

NewOperationProcessor creates a new instance of OperationProcessor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*OperationProcessor) ProcessOperation

func (_m *OperationProcessor) ProcessOperation(operation calculator.Operation) (*string, error)

ProcessOperation provides a mock function with given fields: operation

type ValidationHelper

type ValidationHelper struct {
	mock.Mock
}

ValidationHelper is an autogenerated mock type for the ValidationHelper type

func NewValidationHelper

func NewValidationHelper(t mockConstructorTestingTNewValidationHelper) *ValidationHelper

NewValidationHelper creates a new instance of ValidationHelper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ValidationHelper) CheckInput

func (_m *ValidationHelper) CheckInput(operator string, operands []float64) error

CheckInput provides a mock function with given fields: operator, operands

Jump to

Keyboard shortcuts

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