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

            Assert.AreEqual(string.Empty, extractedDimension);
        }
Beispiel #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);
        }