HashCacheKeyPublic() public method

public HashCacheKeyPublic ( string originalCacheKey ) : string
originalCacheKey string
return string
 public void Should_return_md5_hashed_string()
 {
     // Arrange
     var att = new OutputCacheAttributeWithPublicMethods();
     // Action
     Assert.AreEqual("CE27B55B7504602FB088FEA4DBCEE15A", att.HashCacheKeyPublic("CacheKey"));
 }
Example #2
0
        public void Should_return_md5_hashed_string()
        {
            // Arrange
            var att = new OutputCacheAttributeWithPublicMethods();

            // Action
            Assert.AreEqual("CE27B55B7504602FB088FEA4DBCEE15A", att.HashCacheKeyPublic("CacheKey"));
        }