Пример #1
0
 public void Init()
 {
     _tryCatch     = new TryCatchThrowExample();
     _shimsContext = ShimsContext.Create();
 }
 public void Init()
 {
     _tryCatch = new TryCatchThrowExample();
 }
 private void SetupJustMock()
 {
     _wrapTryCatchNonPublic = Mock.NonPublic.Wrap(_tryCatch);
     _tryCatch     = new TryCatchThrowExample();
     _mockTryCatch = Mock.Create <TryCatchThrowExample>();
 }
 public void Init()
 {
     _tryCatchThrowExample = new TryCatchThrowExample();
     SetupMoq();
 }