public void SetUp() { att = new DerivedCacheAttribute(); }
public void KeyCannotBeEmptyString() { Assert.Throws <ArgumentOutOfRangeException>(() => att = new DerivedCacheAttribute("someName", string.Empty)); }
public void KeyCannotBeNull() { Assert.Throws <ArgumentNullException>(() => att = new DerivedCacheAttribute("someName", null)); }