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

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.