public void DisposeScopeProvider() { // Setup var called = false; Action action = () => called = true; var scopeProvider = new ScopeProvider(action); // Execute scopeProvider.Dispose(); // Assert Assert.IsTrue(called); }
public void DisposeScopeProvider() { // Setup var called = false; Action action = () => called = true; var scopeProvider = new ScopeProvider(action); // Execute scopeProvider.Dispose(); // Assert Assert.IsTrue(called); }