cosmwasm_vm::testing

Function mock_backend

source
pub fn mock_backend(
    contract_balance: &[Coin],
) -> Backend<MockApi, MockStorage, MockQuerier>
Expand description

All external requirements that can be injected for unit tests. It sets the given balance for the contract itself, nothing else