public void NullType() { var item = new DependencyTelemetry(); var extractor = new TypeDimensionExtractor(); var extractedDimension = extractor.ExtractDimension(item); Assert.AreEqual(string.Empty, extractedDimension); }
public void ActualType() { var item = new DependencyTelemetry(); item.Type = "ExpectedType"; var extractor = new TypeDimensionExtractor(); var extractedDimension = extractor.ExtractDimension(item); Assert.AreEqual("ExpectedType", extractedDimension); }