public void BatchModeShould_StartAllServices() { m_Manager.Initialize(m_Settings); var svc = m_Manager.AddHostingService(typeof(TestHostingService), "test"); Assert.IsFalse(svc.IsHostingServiceRunning); HostingServicesManager.BatchMode(m_Settings); Assert.IsTrue(svc.IsHostingServiceRunning); }
public void BatchModeShould_InitializeManagerWithDefaultSettings() { Assert.IsFalse(m_Manager.IsInitialized); HostingServicesManager.BatchMode(m_Settings); Assert.IsTrue(m_Manager.IsInitialized); }