mocks

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: LGPL-3.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbigenContract

type AbigenContract struct {
	mock.Mock
}

AbigenContract is an autogenerated mock type for the AbigenContract type

func NewAbigenContract

func NewAbigenContract(t interface {
	mock.TestingT
	Cleanup(func())
}) *AbigenContract

NewAbigenContract creates a new instance of AbigenContract. 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 (*AbigenContract) Address

func (_m *AbigenContract) Address() common.Address

Address provides a mock function with no fields

func (*AbigenContract) EXPECT

func (*AbigenContract) ParseLog

func (_m *AbigenContract) ParseLog(_a0 types.Log) (generated.AbigenLog, error)

ParseLog provides a mock function with given fields: _a0

type AbigenContract_Address_Call

type AbigenContract_Address_Call struct {
	*mock.Call
}

AbigenContract_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'

func (*AbigenContract_Address_Call) Return

func (*AbigenContract_Address_Call) Run

func (*AbigenContract_Address_Call) RunAndReturn

type AbigenContract_Expecter

type AbigenContract_Expecter struct {
	// contains filtered or unexported fields
}

func (*AbigenContract_Expecter) Address

Address is a helper method to define mock.On call

func (*AbigenContract_Expecter) ParseLog

func (_e *AbigenContract_Expecter) ParseLog(_a0 interface{}) *AbigenContract_ParseLog_Call

ParseLog is a helper method to define mock.On call

  • _a0 types.Log

type AbigenContract_ParseLog_Call

type AbigenContract_ParseLog_Call struct {
	*mock.Call
}

AbigenContract_ParseLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ParseLog'

func (*AbigenContract_ParseLog_Call) Return

func (*AbigenContract_ParseLog_Call) Run

func (*AbigenContract_ParseLog_Call) RunAndReturn

Jump to

Keyboard shortcuts

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