public void NullServiceLocatorThrowsWhenSettingServiceLocator() { Bus bus = new Bus(); Assert.Throws <ArgumentNullException>(() => bus.SetServiceLocator(null)); }