示例#1
0
        public void NullSuccess()
        {
            var item               = new RequestTelemetry();
            var extractor          = new RequestSuccessDimensionExtractor();
            var extractedDimension = extractor.ExtractDimension(item);

            Assert.AreEqual(bool.TrueString, extractedDimension);
        }
示例#2
0
        public void FalseSucess()
        {
            var item = new RequestTelemetry();

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

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