[TearDown] public void CleanUp()
 {
     if (_mock != null)
     {
         _mock.Dispose();
     }
 }
Пример #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _mock?.Dispose();
     }
 }
Пример #3
0
 private void TearDown()
 {
     if (_mock != null)
     {
         _mock.Dispose();
         _mock = null;
     }
 }
Пример #4
0
 public void Teardown()
 {
     am.Dispose();
     am2.Dispose();
     if (isCleanUp)
     {
         io.CleanTempDirs();
     }
 }
Пример #5
0
 public void TearDown()
 {
     _mock.Dispose();
 }
Пример #6
0
 public void Teardown()
 {
     AutoMock?.Dispose();
     Controller?.Dispose();
 }
Пример #7
0
 public void CleanUp()
 {
     _mock.Dispose();
     _lambdaExpressionTransformer.Dispose();
 }
Пример #8
0
 public void Dispose()
 {
     Automock?.Dispose();
 }
Пример #9
0
 public void ClassCleanUp()
 {
     _mock?.Dispose();
 }
 public void Cleanup()
 {
     paymentsDataContext.Dispose();
     mocker.Dispose();
 }
 public void CleanUp()
 {
     mock.Dispose();
 }
Пример #12
0
 public void TearDown()
 {
     _autoMock.Dispose();
 }
Пример #13
0
 public virtual void Dispose() => _mock.Dispose();
Пример #14
0
 public virtual void MockingTearDown()
 {
     Mock.Dispose();
     Mock = null;
 }
Пример #15
0
 public void Cleanup()
 {
     _mock.Dispose();
 }
Пример #16
0
 public void Dispose()
 {
     _mock.Dispose();
     Mapper.Reset();
 }
Пример #17
0
 public void TestCleanUp()
 {
     _mock?.Dispose();
 }
 public void Dispose()
 {
     _autoMockContext?.Dispose();
 }
Пример #19
0
 public void Dispose()
 {
     _mock.Dispose();
 }
Пример #20
0
 public void Teardown()
 {
     AutoMock.Dispose();
 }
 public void TearDown()
 {
     mocker.Dispose();
 }
 public void Close()
 {
     autoMockContext.Dispose();
 }
Пример #23
0
 public void TearDown()
 {
     AutoMock?.Dispose();
 }
Пример #24
0
 public void TearDown()
 {
     OnTeardown();
     _instance = default(TC);
     Container.Dispose();
 }