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