'Tests the processor decline html message'

def test_get_processor_decline_html(self):

    DECISION = 'REJECT'
    for (code, reason) in REASONCODE_MAP.iteritems():
        params = {'decision': DECISION, 'reasonCode': code}
        html = get_processor_decline_html(params)
        self.assertIn(DECISION, html)
        self.assertIn(reason, html)
        self.assertIn(code, html)
        self.assertIn(settings.PAYMENT_SUPPORT_EMAIL, html)
