public void ReflectiveScannerShouldReturnOriginalExceptionAndNotTargetInvocationException()
 {
     _sut = new ExceptionThrowingTest<OuterException>();
     Should.Throw<OuterException>(() => _sut.Execute(ThrowingMethods.Given, false));
 }
 public NotImplementedExceptionBase()
 {
     Sut = new ExceptionThrowingTest<System.NotImplementedException>();
 }
 public void FluentScannerShouldReturnOriginalExceptionAndNotInnerException()
 {
     _sut = new ExceptionThrowingTest<OuterException>();
     Should.Throw<OuterException>(() => _sut.Execute(ThrowingMethods.Given, true));
 }
예제 #4
0
 public OtherExceptionBase()
 {
     Sut = new ExceptionThrowingTest <Exception>();
 }
예제 #5
0
 public void ReflectiveScannerShouldReturnOriginalExceptionAndNotTargetInvocationException()
 {
     _sut = new ExceptionThrowingTest <OuterException>();
     Should.Throw <OuterException>(() => _sut.Execute(ThrowingMethods.Given, false));
 }
예제 #6
0
 public void FluentScannerShouldReturnOriginalExceptionAndNotInnerException()
 {
     _sut = new ExceptionThrowingTest <OuterException>();
     Should.Throw <OuterException>(() => _sut.Execute(ThrowingMethods.Given, true));
 }
예제 #7
0
 public NotImplementedExceptionBase()
 {
     Sut = new ExceptionThrowingTest <System.NotImplementedException>();
 }
 public OtherExceptionBase()
 {
     Sut = new ExceptionThrowingTest<Exception>();
 }