How is it possible to test if my contract actually transfers money to a specific account?
function _transfer(address receiver_, uint256 payout) internal{
receiver_.transfer(payout);
}
Testing in JavaScript Syntax. Expecting something like:
assert.equal(accounts[1].balance, 100 Ether);