def METHOD_NAME(self):
    email = EmailTestImplementation("text_plain")
    # test header names are case insensative
    self.assertEqual(email.msg["x-upper-case-header"], "FOOBAR")
    self.assertEqual(email.msg["X-Lower-Case-Header"], "foobar")
    self.assertEqual(email.msg["x-random-case-header"], "fOoBaR")
    expected_output = [
        {"name": "From", "value": "Someone <someone@example.net>"},
        {"name": "To", "value": "Me <me@example.net>"},
        {"name": "Cc", "value": ""},
        {"name": "Date", "value": "Sun, 17 Dec 2017 13:10:14 +0000"},
        {"name": "Subject", "value": "Tést message"},
    ]
    self.assertEqual(email.headers, expected_output)