public void TestNullValuePut() { ICache cache = new NhRedisClient(); Assert.Throws<ArgumentNullException>(() => cache.Put("nunit", null )); }
public void TestNullKeyPut() { ICache cache = new NhRedisClient(); Assert.Throws<ArgumentNullException>(() => cache.Put(null, null)); }