Esempio n. 1
0
        public void NullSuccess()
        {
            var item               = new DependencyTelemetry();
            var extractor          = new SuccessDimensionExtractor();
            var extractedDimension = extractor.ExtractDimension(item);

            Assert.AreEqual(bool.TrueString, extractedDimension);
        }
Esempio n. 2
0
        public void FalseSucess()
        {
            var item = new DependencyTelemetry();

            item.Success = false;
            var extractor          = new SuccessDimensionExtractor();
            var extractedDimension = extractor.ExtractDimension(item);

            Assert.AreEqual(bool.FalseString, extractedDimension);
        }