def METHOD_NAME(self, _id, expected_response=None, expected_status_code=status.HTTP_200_OK):
    endpoint = ENDPOINT + str(_id) + "/"
    response = self.client.get(endpoint)
    assert response.status_code == expected_status_code
    if expected_response is not None:
        assert json.loads(response.content.decode("utf-8")) == expected_response