mocks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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 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) structs.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