'Test that credit api method \'test_get_credit_provider_details\'
returns dictionary data related to provided credit provider.'

def test_get_credit_providers_details(self):

    expected_result = [{'id': self.PROVIDER_ID, 'display_name': self.PROVIDER_NAME, 'url': self.PROVIDER_URL, 'status_url': self.PROVIDER_STATUS_URL, 'description': self.PROVIDER_DESCRIPTION, 'enable_integration': self.ENABLE_INTEGRATION, 'fulfillment_instructions': self.FULFILLMENT_INSTRUCTIONS, 'thumbnail_url': self.THUMBNAIL_URL}]
    result = api.get_credit_providers([self.PROVIDER_ID])
    self.assertEqual(result, expected_result)
    result = api.get_credit_providers(['fake_provider_id'])
    self.assertEqual(result, [])
