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

            Assert.AreEqual(bool.TrueString, extractedDimension);
        }
Example #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);
        }