def test_constructor_with_prohibited_headers(self):
        """Tests that the MetaDataProvider constructor does not accept any headers marked as prohibited"""
        for name in MetaDataProvider.prohibited_headers:
            additional_headers = [RequestHeader("Header1", "Value1"),
                                  RequestHeader(name, "should be slashed and burnt"),
                                  RequestHeader("Header3", "Value3")]
            with self.assertRaises(Exception) as error:
                MetaDataProvider("Ingenico", None, additional_headers)
            self.assertIn(name, str(error.exception))