def METHOD_NAME(self):
    """
    Tests that all the ProjectCodeOwners are serialized in the response
    """
    code_owner_1 = self.create_codeowners(
        self.project_1, self.code_mapping_1, raw=self.data_1["raw"]
    )
    code_owner_2 = self.create_codeowners(
        self.project_2, self.code_mapping_2, raw=self.data_2["raw"]
    )
    response = self.get_success_response(self.organization.slug, status=status.HTTP_200_OK)
    for code_owner in [code_owner_1, code_owner_2]:
        assert code_owner.project.slug in response.data.keys()
        associations, errors = validate_codeowners_associations(
            code_owner.raw, code_owner.project
        )
        assert "associations" in response.data[code_owner.project.slug].keys()
        assert response.data[code_owner.project.slug]["associations"] == associations
        assert "errors" in response.data[code_owner.project.slug].keys()
        assert response.data[code_owner.project.slug]["errors"] == errors