mocks

package
v2.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceMonitor

type BalanceMonitor struct {
	mock.Mock
}

BalanceMonitor is an autogenerated mock type for the BalanceMonitor type

func NewBalanceMonitor

func NewBalanceMonitor(t interface {
	mock.TestingT
	Cleanup(func())
}) *BalanceMonitor

NewBalanceMonitor creates a new instance of BalanceMonitor. 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 (*BalanceMonitor) Close

func (_m *BalanceMonitor) Close() error

Close provides a mock function with given fields:

func (*BalanceMonitor) GetEthBalance

func (_m *BalanceMonitor) GetEthBalance(_a0 common.Address) *assets.Eth

GetEthBalance provides a mock function with given fields: _a0

func (*BalanceMonitor) HealthReport

func (_m *BalanceMonitor) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*BalanceMonitor) Name

func (_m *BalanceMonitor) Name() string

Name provides a mock function with given fields:

func (*BalanceMonitor) OnNewLongestChain

func (_m *BalanceMonitor) OnNewLongestChain(ctx context.Context, head *types.Head)

OnNewLongestChain provides a mock function with given fields: ctx, head

func (*BalanceMonitor) Ready

func (_m *BalanceMonitor) Ready() error

Ready provides a mock function with given fields:

func (*BalanceMonitor) Start

func (_m *BalanceMonitor) Start(_a0 context.Context) error

Start 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