'Verify the endpoint returns a list of all CreditProvider objects, filtered to contain only those objects
associated with the given IDs.'

@ddt.data((u'bayside',), (u'hogwarts', u'starfleet'))
def test_list_filtering(self, provider_ids):

    url = u'{}?provider_ids={}'.format(self.path, u','.join(provider_ids))
    response = self.client.get(url)
    self.assertEqual(response.status_code, 200)
    expected = CreditProviderSerializer(CreditProvider.objects.filter(provider_id__in=provider_ids), many=True).data
    self.assertEqual(response.data, expected)
