def METHOD_NAME(self):
    response = self.endpoint.retrieve(
        self.request, "AA11AA", "json", geocoder=mock_geocode, log=False
    )
    self.assertEqual(200, response.status_code)
    self.assertEqual("ABC", response.data["council"]["council_id"])
    self.assertFalse(response.data["polling_station_known"])
    self.assertEqual(None, response.data["polling_station"])
    self.assertEqual(3, len(response.data["addresses"]))
    self.assertIsNone(response.data["custom_finder"])
    self.assertIsInstance(response.data["postcode_location"], dict)
    self.assertEqual(1, len(response.data["ballots"]))