[][src]Function cosmwasm_std::testing::mock_env

pub fn mock_env<U: Into<HumanAddr>>(sender: U, sent: &[Coin]) -> Env

Just set sender and sent funds for the message. The rest uses defaults. The sender will be canonicalized internally to allow developers pasing in human readable senders. This is intended for use in test code only.