def METHOD_NAME(self):
    request = self.factory.get(
        '/water_temperature_threshold/',
        {'location_site': self.location_site.id}
    )
    request.user = self.user
    response = self.view(request)
    response_data = json.loads(response.content)
    self.assertEqual(response.status_code, 200)
    self.assertEqual(response_data['maximum_threshold'], 25)
    self.assertEqual(response_data['minimum_threshold'], 10)
    self.assertEqual(response_data['mean_threshold'], 20)
    self.assertEqual(response_data['record_length'], 30)
    self.assertEqual(response_data['degree_days'], 200)