ghcmocks

package
v0.0.0-...-fdfe12d Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DTODPlannerMileage

type DTODPlannerMileage struct {
	mock.Mock
}

DTODPlannerMileage is an autogenerated mock type for the DTODPlannerMileage type

func NewDTODPlannerMileage

func NewDTODPlannerMileage(t interface {
	mock.TestingT
	Cleanup(func())
}) *DTODPlannerMileage

NewDTODPlannerMileage creates a new instance of DTODPlannerMileage. 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 (*DTODPlannerMileage) DTODZip5Distance

func (_m *DTODPlannerMileage) DTODZip5Distance(appCtx appcontext.AppContext, pickup string, destination string) (int, error)

DTODZip5Distance provides a mock function with given fields: appCtx, pickup, destination

type SoapCaller

type SoapCaller struct {
	mock.Mock
}

SoapCaller is an autogenerated mock type for the SoapCaller type

func NewSoapCaller

func NewSoapCaller(t interface {
	mock.TestingT
	Cleanup(func())
}) *SoapCaller

NewSoapCaller creates a new instance of SoapCaller. 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 (*SoapCaller) Call

func (_m *SoapCaller) Call(m string, p gosoap.SoapParams) (*gosoap.Response, error)

Call provides a mock function with given fields: m, p

Jump to

Keyboard shortcuts

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