public void AddNullLogListenersIsIgnored() { LogListenersContainer item = new LogListenersContainer(); item.Add(null); int count = item.GetAll().Count; Assert.AreEqual(0, count); }
public void AddLogListenersUpdatesTheList() { LogListenersContainer item = new LogListenersContainer(); item.Add(new CustomLogListener()); int count = item.GetAll().Count; Assert.AreEqual(1, count); }
public void AddNullLogListenersDoesNotThrowException() { LogListenersContainer item = new LogListenersContainer(); item.Add(null); }