[TearDown] public void CleanUp() { if (_mock != null) { _mock.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { _mock?.Dispose(); } }
private void TearDown() { if (_mock != null) { _mock.Dispose(); _mock = null; } }
public void Teardown() { am.Dispose(); am2.Dispose(); if (isCleanUp) { io.CleanTempDirs(); } }
public void TearDown() { _mock.Dispose(); }
public void Teardown() { AutoMock?.Dispose(); Controller?.Dispose(); }
public void CleanUp() { _mock.Dispose(); _lambdaExpressionTransformer.Dispose(); }
public void Dispose() { Automock?.Dispose(); }
public void ClassCleanUp() { _mock?.Dispose(); }
public void Cleanup() { paymentsDataContext.Dispose(); mocker.Dispose(); }
public void CleanUp() { mock.Dispose(); }
public void TearDown() { _autoMock.Dispose(); }
public virtual void Dispose() => _mock.Dispose();
public virtual void MockingTearDown() { Mock.Dispose(); Mock = null; }
public void Cleanup() { _mock.Dispose(); }
public void Dispose() { _mock.Dispose(); Mapper.Reset(); }
public void TestCleanUp() { _mock?.Dispose(); }
public void Dispose() { _autoMockContext?.Dispose(); }
public void Dispose() { _mock.Dispose(); }
public void Teardown() { AutoMock.Dispose(); }
public void TearDown() { mocker.Dispose(); }
public void Close() { autoMockContext.Dispose(); }
public void TearDown() { AutoMock?.Dispose(); }
public void TearDown() { OnTeardown(); _instance = default(TC); Container.Dispose(); }