def METHOD_NAME(self):
    """Set up test data."""
    super().METHOD_NAME()
    self.data_model = json.loads(DATA_MODEL_JSON)
    self.set_source_parameter("reports", ["r1", "r3"])
    self.expected_software_metrics = str(2 * len(self.data_model["subjects"]["software"]["metrics"]))
    self.reports["reports"].append(
        {
            "title": "R3",
            "report_uuid": "r3",
            "subjects": {
                "s2": {
                    "type": "software",
                    "name": "S2",
                    "metrics": {
                        "m21": {
                            "tags": ["security"],
                            "scale": "count",
                            "type": "violations",
                            "target": "1",
                            "sources": {"s1": {"type": "sonarqube"}},
                        },
                        "m22": {
                            "tags": ["security"],
                            "scale": "count",
                            "type": "loc",
                            "target": "1",
                            "sources": {"s1": {"type": "sonarqube"}},
                        },
                        "m23": {
                            "tags": ["security"],
                            "scale": "count",
                            "type": "accessibility",
                            "target": "1",
                            "sources": {"s1": {"type": "sonarqube"}},
                        },
                    },
                },
            },
        },
    )
    self.entities = []
    for report in self.reports["reports"]:
        for subject_uuid, subject in report.get("subjects", {}).items():
            for metric_type in self.data_model["subjects"]["software"]["metrics"]:
                if metric_type not in ["violations", "accessibility", "loc"]:
                    self.entities.append(
                        {
                            "key": f"{report['report_uuid']}:{subject_uuid}:{metric_type}",
                            "report": report["title"],
                            "report_url": f"https://quality_time/{report['report_uuid']}",
                            "subject": subject["name"],
                            "subject_url": f"https://quality_time/{report['report_uuid']}#{subject_uuid}",
                            "subject_uuid": f"{subject_uuid}",
                            "subject_type": self.data_model["subjects"][subject["type"]]["name"],
                            "metric_type": self.data_model["metrics"][metric_type]["name"],
                        },
                    )