public void HasAuthorityAttributeTest() { var attrib = new HasAuthorityAttribute(); Assert.IsTrue(attrib.error); attrib.error = false; Assert.IsFalse(attrib.error); }
public void HasAuthorityDefaultsToError() { var attrib = new HasAuthorityAttribute(); Assert.IsTrue(attrib.error); }