def METHOD_NAME(self):
    email_recipient = "recipient@company.com"
    email_subject = "subject"
    email_content = "content"
    email_content_type = "content-type"
    with patch.object(self.connector, "_execute_send") as execute_send_mock:
        with self.assertRaises(EmailSendError):
            self.connector.send(
                email_recipient=email_recipient,
                email_subject=email_subject,
                email_content=email_content,
                content_type=email_content_type,
                attachment=self.attachment
            )
        self.assertEqual(execute_send_mock.call_count, 0)