示例#1
0
 public void SetUp()
 {
     att = new DerivedCacheAttribute();
 }
示例#2
0
 public void KeyCannotBeEmptyString()
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => att = new DerivedCacheAttribute("someName", string.Empty));
 }
示例#3
0
 public void KeyCannotBeNull()
 {
     Assert.Throws <ArgumentNullException>(() => att = new DerivedCacheAttribute("someName", null));
 }