// TestMetricsDuGetCapacity tests that MetricsDu can read disk usage // for path func TestMetricsDuGetCapacity(t *testing.T) { … } // TestMetricsDuRequireInit tests that if MetricsDu is not initialized with a path, GetMetrics // returns an error func TestMetricsDuRequirePath(t *testing.T) { … } // TestMetricsDuRealDirectory tests that if MetricsDu is initialized to a non-existent path, GetMetrics // returns an error func TestMetricsDuRequireRealDirectory(t *testing.T) { … }