def METHOD_NAME(self):
    # given
    system_resource_info = SystemResourceInfo(
        cpu_core_count=0.5,
        memory_amount_bytes=2 * BYTES_IN_ONE_GB,
        gpu_card_indices=[],
        gpu_memory_amount_bytes=0,
    )
    # and
    metrics_factory = MetricsFactory(self.gauge_factory, system_resource_info)
    # when
    metrics_container = metrics_factory.create_metrics_container()
    # then
    self.assertEqual(
        Metric(
            name="CPU - usage",
            description="average of all cores",
            resource_type=MetricResourceType.CPU,
            unit="%",
            min_value=0.0,
            max_value=100.0,
            gauges=[SystemCpuUsageGauge()],
        ),
        metrics_container.cpu_usage_metric,
    )