protected virtual void Dispose(bool disposing) { if (!_disposedValue) { if (disposing) { SetupContext?.Dispose(); AssertContext?.Dispose(); Client?.Dispose(); _server?.Dispose(); } _disposedValue = true; } }
public void TearDown() { TestContext.Dispose(); SetupContext.Dispose(); }