Exemplo n.º 1
0
        void CheckObfuscatedBodyWithMatches(string body)
        {
            string obfuscatedBody = LoggingUtil.ObfuscateBody(body);

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

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