public void RemovingTestMethod() { EventCatalogSingleton eventCatalogSingleton = EventCatalogSingleton.Instance; eventCatalogSingleton.Events = new ObservableCollection <Event>(); eventCatalogSingleton.Add(new Event()); Assert.AreEqual(1, eventCatalogSingleton.Events.Count); eventCatalogSingleton.Remove(0); Assert.AreEqual(0, eventCatalogSingleton.Events.Count); }
private void RemoveEvent() { EventCatalogSingleton.Remove(SelectedEventIndex); }