public void ItShouldDoSomething() { Capture.Exception(() => GetWidget().Add("blah")) .Should().BeOfType <ArgumentException>(); }
protected override void BecauseOf() { exception = Capture.Exception(() => sut.Add("blah")); }