public void NullSuccess() { var item = new RequestTelemetry(); var extractor = new RequestSuccessDimensionExtractor(); var extractedDimension = extractor.ExtractDimension(item); Assert.AreEqual(bool.TrueString, extractedDimension); }
public void FalseSucess() { var item = new RequestTelemetry(); item.Success = false; var extractor = new RequestSuccessDimensionExtractor(); var extractedDimension = extractor.ExtractDimension(item); Assert.AreEqual(bool.FalseString, extractedDimension); }