protected virtual void Dispose(bool disposing) { if (disposing) { _mockFactory.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (null != mockFactory) { mockFactory.Dispose(); mockFactory = null; } } }
public void TearDown() { _mockFactory.VerifyAllExpectationsHaveBeenMet(); _mockFactory.Dispose(); }