def METHOD_NAME(self, path_class):
    """Test that metrics belong to at least one subject."""
    model_kwargs = {
        "scales": self.SCALES,
        "metrics": self.METRICS,
        "sources": {
            "source": self.source(
                configuration={"config": {"name": "Config", "value": ["value"], "metrics": ["metric"]}},
            ),
        },
        "subjects": {},
    }
    self.check_validation_error("Metric metric is not listed in any subject", **model_kwargs)
    path_class.assert_called_once()