mocks

package
v0.20.6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: 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 ContractRegistry

type ContractRegistry struct {
	mock.Mock
}

ContractRegistry is an autogenerated mock type for the ContractRegistry type

func NewContractRegistry

func NewContractRegistry(t mockConstructorTestingTNewContractRegistry) *ContractRegistry

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

func (*ContractRegistry) Deploy

Deploy provides a mock function with given fields: ctx, contractType

func (*ContractRegistry) Get

Get provides a mock function with given fields: ctx, contractType

func (*ContractRegistry) GetDeployedContracts

func (_m *ContractRegistry) GetDeployedContracts() map[int]contracts.DeployedContract

GetDeployedContracts provides a mock function with given fields:

func (*ContractRegistry) GetRegisteredDeployer

func (_m *ContractRegistry) GetRegisteredDeployer(contractType contracts.ContractType) deployer.ContractDeployer

GetRegisteredDeployer provides a mock function with given fields: contractType

func (*ContractRegistry) IsContractDeployed

func (_m *ContractRegistry) IsContractDeployed(contractType contracts.ContractType) bool

IsContractDeployed provides a mock function with given fields: contractType

func (*ContractRegistry) Register

func (_m *ContractRegistry) Register(contractType contracts.ContractType, contract contracts.DeployedContract)

Register provides a mock function with given fields: contractType, contract

func (*ContractRegistry) RegisterContractDeployer

func (_m *ContractRegistry) RegisterContractDeployer(deployers ...deployer.ContractDeployer)

RegisterContractDeployer provides a mock function with given fields: deployers

func (*ContractRegistry) RegisteredDeployers

func (_m *ContractRegistry) RegisteredDeployers() []deployer.ContractDeployer

RegisteredDeployers provides a mock function with given fields:

Jump to

Keyboard shortcuts

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