예제 #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));
 }