public void EventManagerAddEventValidEventShouldBeAddedCorect() { var manager = new EventManager(); manager.AddEvent(new Event("Test title", "Location", DateTime.Now)); Assert.AreEqual(1, manager.EventsList.Count); }
public void EventManagerAddEventWithNullShouldThrow() { var manager = new EventManager(); manager.AddEvent(null); }
public void EventManagerAddEventValidEventShouldNotThrow() { var manager = new EventManager(); manager.AddEvent(new Event("Test title", "Location", DateTime.Now)); }