pub struct Mock<S: StateInterface = MockState> {
    pub sender: Addr,
    pub state: Rc<RefCell<S>>,
    pub app: Rc<RefCell<App>>,
}Fields§
§sender: Addr§state: Rc<RefCell<S>>§app: Rc<RefCell<App>>Implementations§
source§impl<S: StateInterface> Mock<S>
 
impl<S: StateInterface> Mock<S>
sourcepub fn set_balance(
    &self,
    address: &Addr,
    amount: Vec<Coin>
) -> Result<(), BootError>
 
pub fn set_balance( &self, address: &Addr, amount: Vec<Coin> ) -> Result<(), BootError>
set the Bank balance of an address