# Functions
NewInstanceBuilderMock constructs a new InstanceBuilderMock.
NewInstanceBuilderRecorderMock constructs a new InstanceBuilderRecorderMock.
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.
InstanceBuilderMock can be passed to RuntimeContext as an InstanceBuilder to create mocked Wasmer instances.
InstanceBuilderRecorderMock can be passed to RuntimeContext as an InstanceBuilder to create mocked Wasmer instances.
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.
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.