public void WatchingSessionWillBeControlledThroughDisposePattern() { MockConfigurationChangeWatcher watcher = new MockConfigurationChangeWatcher(); using(new ConfigurationChangeWatcherPauser(watcher)) { ; } Assert.AreEqual("StoppedStarted", watcher.Log); }
public void WatchingSessionWillBeControlledThroughDisposePattern() { MockConfigurationChangeWatcher watcher = new MockConfigurationChangeWatcher(); using (new ConfigurationChangeWatcherPauser(watcher)) { ; } Assert.AreEqual("StoppedStarted", watcher.Log); }