public void EventItemAttribute_Constructor_PassLevel() { var allLevels = EnumHelper.GetAllPossibleValues <EventLevel>(); foreach (var level in allLevels) { var attribute = new EventItemAttribute(level); Assert.AreEqual(level, attribute.Level); } }
public void EventItemAttribute_DefaultConstructor() { var attribute = new EventItemAttribute(); Assert.AreEqual(EventItemAttribute.DefaultEventLevel, attribute.Level); }