def METHOD_NAME(self):
    with patch("src.chain.escrow.get_web3") as mock_function:
        mock_function.return_value = self.w3
        with self.assertRaises(EscrowClientError) as error:
            validate_escrow(self.w3.eth.chain_id, "invalid_address")
    self.assertEqual(
        f"Invalid escrow address: invalid_address", str(error.exception)
    )