def METHOD_NAME(self):
    """Check that the ERC-20 approve method sets approval information in the contract."""
    self.call_contract(
        self.accounts[1],
        self.contract,
        0,
        "approve",
        self.accounts[2].address,
        50_000,
    )
    assert (
        self.call_view(
            self.contract,
            "allowance",
            self.accounts[1].address,
            self.accounts[2].address,
        )
        == 50_000
    )