def METHOD_NAME(mocker):
    boto_mock = mocker.patch.object(aws_ses_client, "_client", create=True)
    mocker.patch.object(aws_ses_client, "statsd_client", create=True)
    error_response = {
        "Error": {
            "Code": "ServiceUnavailable",
            "Message": "some error message from amazon",
            "Type": "Sender",
        }
    }
    boto_mock.send_raw_email.side_effect = botocore.exceptions.ClientError(error_response, "opname")
    mocker.patch.object(aws_ses_client, "statsd_client", create=True)
    with pytest.raises(AwsSesClientException) as excinfo:
        aws_ses_client.send_email(
            source="from@address.com",
            to_addresses="foo@bar.com",
            subject="Subject",
            body="Body",
        )
    assert "some error message from amazon" in str(excinfo.value)