public void AddHandlerWithNullEventNameThrowsException() { var dem = new DarkEventManager(); Assert.Throws <ArgumentNullException>(() => dem.AddEventHandler((sender, args) => { }, null)); }
public void AddHandlerWithNullEventHandlerThrowsException() { var dem = new DarkEventManager(); Assert.Throws <ArgumentNullException>(() => dem.AddEventHandler(null, "test")); }