mocks

package
v2.2.0-mercury-20230614 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

type HttpClient struct {
	mock.Mock
}

HttpClient is an autogenerated mock type for the HttpClient type

func NewHttpClient

func NewHttpClient(t mockConstructorTestingTNewHttpClient) *HttpClient

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

func (*HttpClient) Do

func (_m *HttpClient) Do(req *http.Request) (*http.Response, error)

Do provides a mock function with given fields: req

type Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func NewRegistry

func NewRegistry(t mockConstructorTestingTNewRegistry) *Registry

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

func (*Registry) GetActiveUpkeepIDs

func (_m *Registry) GetActiveUpkeepIDs(opts *bind.CallOpts, startIndex *big.Int, maxCount *big.Int) ([]*big.Int, error)

GetActiveUpkeepIDs provides a mock function with given fields: opts, startIndex, maxCount

func (*Registry) GetState

GetState provides a mock function with given fields: opts

func (*Registry) GetUpkeep

func (_m *Registry) GetUpkeep(opts *bind.CallOpts, id *big.Int) (keeper_registry_wrapper2_0.UpkeepInfo, error)

GetUpkeep provides a mock function with given fields: opts, id

func (*Registry) ParseLog

func (_m *Registry) ParseLog(log types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: log

Jump to

Keyboard shortcuts

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