Beispiel #1
0
        void CheckObfuscatedBodyWithMatches(string body)
        {
            string obfuscatedBody = LoggingUtil.ObfuscateBody(body);

            Assert.AreEqual(body, obfuscatedBody);
        }
Beispiel #2
0
        void CheckObfuscateHeaderWithNoMatch(string name, string originalValue)
        {
            string obfuscatedValue = LoggingUtil.ObfuscateHeader(name, originalValue);

            Assert.AreEqual(originalValue, obfuscatedValue);
        }
Beispiel #3
0
 public void SetBody(string body, string contentType)
 {
     Body        = LoggingUtil.ObfuscateBody(body);
     ContentType = contentType;
 }