# Functions
GetMockInstance gets the mock instance from the runtime of the provided host.
NewExecutorMock constructs a new InstanceBuilderMock.
NewExecutorMockFactory returns the Wasmer executor factory.
NewInstanceMock creates a new InstanceMock.
NewMemoryMock creates a new MemoryMock instance.
NewRuntimeContextWrapper builds a new runtimeContextWrapper that by default will delagate all calls to the provided RuntimeContext.
# Structs
BlockchainHookStub is used in tests to check that interface methods were called.
CryptoHookMock is used in tests to check that interface methods were called.
ExecutorMock can be passed to RuntimeContext as an InstanceBuilder to create mocked Wasmer instances.
ExecutorMockFactory is the factory for the ExecutorRecorderMock.
InstanceMock is a mock for Wasmer instances; it allows creating mock smart contracts within tests, without needing actual WASM smart contracts.
MemoryMock mocks the linear memory of a Wasmer instance and is used by the InstanceMock.
MeteringContextMock is used in tests to check the MeteringContext interface method calls.
OutputContextMock is used in tests to check the OutputContext interface method calls.
OutputContextStub is used in tests to check the OutputContext interface method calls.
RuntimeContextMock is used in tests to check the RuntimeContextMock interface method calls.
RuntimeContextWrapper a wrapper over a RuntimeContext that delegates to if if function is not redefined.
StubAccount is used with the blockchain stub in vm context tests.
VMHostMock is used in tests to check the VMHost interface method calls.
VMHostStub is used in tests to check the VMHost interface method calls.