def METHOD_NAME(self) -> None:
    """Set up fixtures for measurements."""
    super().METHOD_NAME()
    self.database_mock = Mock()
    self.database_mock.measurements.insert_one = self.insert_one_measurement
    self.metric = Metric(self.DATA_MODEL, {"type": "violations"}, "metric_uuid")
    self.measurements = [
        {"_id": 1, "start": "0", "end": "1", "sources": [], "metric_uuid": METRIC_ID},
        {"_id": 2, "start": "3", "end": "4", "sources": [], "metric_uuid": METRIC_ID},
        {"_id": 3, "start": "6", "end": "7", "sources": [], "metric_uuid": METRIC_ID},
        {"_id": 4, "start": "1", "end": "2", "sources": [], "metric_uuid": METRIC_ID2},
        {"_id": 5, "start": "4", "end": "5", "sources": [], "metric_uuid": METRIC_ID2},
        {"_id": 6, "start": "7", "end": "8", "sources": [], "metric_uuid": METRIC_ID2},
    ]
    self.database = mongomock.MongoClient()["quality_time_db"]