Fixed ShouldBeThrown when an exception is not thrown.