public void MetricCollection_Ctor_Initializer()
        {
            var col = new MetricCollection
            {
                new Metric(MetricType.EventLog, "m", true)
            };

            Assert.IsTrue(col.Get(MetricType.EventLog).Title == "m");
        }
        public void MetricCollection_Get()
        {
            var metric = new Metric(MetricType.EventLog, "m", true);

            var col = new MetricCollection
            {
                metric
            };

            Assert.AreSame(metric, col.Get(MetricType.EventLog));
        }