def METHOD_NAME(self, cognite_client, mock_labels_response):
    res = cognite_client.labels.list(external_id_prefix="P")
    assert "P" == jsgz_load(mock_labels_response.calls[0].request.body)["filter"]["externalIdPrefix"]
    assert mock_labels_response.calls[0].response.json()["items"] == res.dump(camel_case=True)