Пример #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));
 }