Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICalculatorService ¶
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 ¶
func (_m *ICalculatorService) Calculate(_a0 context.Context, _a1 string) (structs.CalculationResult, errors.WrappedError)
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
Click to show internal directories.
Click to hide internal directories.