def METHOD_NAME(self):
    client = APIClient()
    client.force_authenticate(user=self.superuser)
    # Helper function that checks that the response contains the expected user ids (and no others)
    def check_response(url: str, expected_ids: Set[int]) -> None:
        response = client.get(url)
        ids = {u['id'] for u in response.data['results']}
        self.assertSetEqual(ids, expected_ids)
    # Check that all individual field filters work (id, student_id, email)
    # The API uses User.id values, not UserProfile.id, to identify users.
    check_response('/api/v2/users/?field=id&values=1,2,3,4', set())
    check_response('/api/v2/users/?field=id&values=101,102,103,104', {101, 102, 103, 104})
    check_response('/api/v2/users/?field=student_id&values=12345X,67890Y', {101, 102})
    check_response('/api/v2/users/?field=email&values=teacher@aplus.com,superuser@aplus.com', {103, 104})
    # Check that partial matches are not returned
    check_response('/api/v2/users/?field=student_id&values=123,67890Y', {102})
    # Check that unmatched values don't cause errors
    check_response('/api/v2/users/?field=id&values=1,101,999', {101})
    # Check that an empty or missing values list returns an empty result
    check_response('/api/v2/users/?field=email', set())
    # Check the 404 not found response when the given field does not exist.
    # emails is the wrong name for the field, email is correct.
    response = client.get('/api/v2/users/?field=emails&values=teacher@aplus.com')
    self.assertEqual(response.status_code, 404)
    # Invalid values: int expected for id, but str given.
    response = client.get('/api/v2/users/?field=id&values=hundred')
    self.assertEqual(response.status_code, 404)