mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2026 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgglayerClientInterface

type AgglayerClientInterface struct {
	mock.Mock
}

AgglayerClientInterface is an autogenerated mock type for the AgglayerClientInterface type

func NewAgglayerClientInterface

func NewAgglayerClientInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *AgglayerClientInterface

NewAgglayerClientInterface creates a new instance of AgglayerClientInterface. 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 (*AgglayerClientInterface) EXPECT

func (*AgglayerClientInterface) GetCertificateHeader

func (_m *AgglayerClientInterface) GetCertificateHeader(ctx context.Context, certificateID common.Hash) (*types.CertificateHeader, error)

GetCertificateHeader provides a mock function with given fields: ctx, certificateID

type AgglayerClientInterface_Expecter

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

func (*AgglayerClientInterface_Expecter) GetCertificateHeader

func (_e *AgglayerClientInterface_Expecter) GetCertificateHeader(ctx interface{}, certificateID interface{}) *AgglayerClientInterface_GetCertificateHeader_Call

GetCertificateHeader is a helper method to define mock.On call

  • ctx context.Context
  • certificateID common.Hash

type AgglayerClientInterface_GetCertificateHeader_Call

type AgglayerClientInterface_GetCertificateHeader_Call struct {
	*mock.Call
}

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

func (*AgglayerClientInterface_GetCertificateHeader_Call) Return

func (*AgglayerClientInterface_GetCertificateHeader_Call) Run

func (*AgglayerClientInterface_GetCertificateHeader_Call) RunAndReturn

type FlowInterface

type FlowInterface struct {
	mock.Mock
}

FlowInterface is an autogenerated mock type for the FlowInterface type

func NewFlowInterface

func NewFlowInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *FlowInterface

NewFlowInterface creates a new instance of FlowInterface. 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 (*FlowInterface) BuildCertificate

func (_m *FlowInterface) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)

BuildCertificate provides a mock function with given fields: ctx, buildParams

func (*FlowInterface) EXPECT

func (_m *FlowInterface) EXPECT() *FlowInterface_Expecter

func (*FlowInterface) GenerateBuildParams

func (_m *FlowInterface) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)

GenerateBuildParams provides a mock function with given fields: ctx, preParams

type FlowInterface_BuildCertificate_Call

type FlowInterface_BuildCertificate_Call struct {
	*mock.Call
}

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

func (*FlowInterface_BuildCertificate_Call) Return

func (*FlowInterface_BuildCertificate_Call) Run

type FlowInterface_Expecter

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

func (*FlowInterface_Expecter) BuildCertificate

func (_e *FlowInterface_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *FlowInterface_BuildCertificate_Call

BuildCertificate is a helper method to define mock.On call

  • ctx context.Context
  • buildParams *types.CertificateBuildParams

func (*FlowInterface_Expecter) GenerateBuildParams

func (_e *FlowInterface_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *FlowInterface_GenerateBuildParams_Call

GenerateBuildParams is a helper method to define mock.On call

  • ctx context.Context
  • preParams *types.CertificatePreBuildParams

type FlowInterface_GenerateBuildParams_Call

type FlowInterface_GenerateBuildParams_Call struct {
	*mock.Call
}

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

func (*FlowInterface_GenerateBuildParams_Call) Return

func (*FlowInterface_GenerateBuildParams_Call) Run

type L1InfoTreeRootByLeafQuerier

type L1InfoTreeRootByLeafQuerier struct {
	mock.Mock
}

L1InfoTreeRootByLeafQuerier is an autogenerated mock type for the L1InfoTreeRootByLeafQuerier type

func NewL1InfoTreeRootByLeafQuerier

func NewL1InfoTreeRootByLeafQuerier(t interface {
	mock.TestingT
	Cleanup(func())
}) *L1InfoTreeRootByLeafQuerier

NewL1InfoTreeRootByLeafQuerier creates a new instance of L1InfoTreeRootByLeafQuerier. 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 (*L1InfoTreeRootByLeafQuerier) EXPECT

func (*L1InfoTreeRootByLeafQuerier) GetL1InfoRootByLeafIndex

func (_m *L1InfoTreeRootByLeafQuerier) GetL1InfoRootByLeafIndex(ctx context.Context, leafCount uint32) (*types.Root, error)

GetL1InfoRootByLeafIndex provides a mock function with given fields: ctx, leafCount

type L1InfoTreeRootByLeafQuerier_Expecter

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

func (*L1InfoTreeRootByLeafQuerier_Expecter) GetL1InfoRootByLeafIndex

func (_e *L1InfoTreeRootByLeafQuerier_Expecter) GetL1InfoRootByLeafIndex(ctx interface{}, leafCount interface{}) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call

GetL1InfoRootByLeafIndex is a helper method to define mock.On call

  • ctx context.Context
  • leafCount uint32

type L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call

type L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call struct {
	*mock.Call
}

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

func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Return

func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Run

func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn

Jump to

Keyboard shortcuts

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