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