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)); }
public OtherExceptionBase() { Sut = new ExceptionThrowingTest <Exception>(); }
public void ReflectiveScannerShouldReturnOriginalExceptionAndNotTargetInvocationException() { _sut = new ExceptionThrowingTest <OuterException>(); Should.Throw <OuterException>(() => _sut.Execute(ThrowingMethods.Given, false)); }
public void FluentScannerShouldReturnOriginalExceptionAndNotInnerException() { _sut = new ExceptionThrowingTest <OuterException>(); Should.Throw <OuterException>(() => _sut.Execute(ThrowingMethods.Given, true)); }
public NotImplementedExceptionBase() { Sut = new ExceptionThrowingTest <System.NotImplementedException>(); }
public OtherExceptionBase() { Sut = new ExceptionThrowingTest<Exception>(); }