示例#1
0
        public void NullType()
        {
            var item               = new DependencyTelemetry();
            var extractor          = new TypeDimensionExtractor();
            var extractedDimension = extractor.ExtractDimension(item);

            Assert.AreEqual(string.Empty, extractedDimension);
        }
示例#2
0
        public void ActualType()
        {
            var item = new DependencyTelemetry();

            item.Type = "ExpectedType";
            var extractor          = new TypeDimensionExtractor();
            var extractedDimension = extractor.ExtractDimension(item);

            Assert.AreEqual("ExpectedType", extractedDimension);
        }