Skip to content

ThrowsNothingConstraint

Charlie Poole edited this page Jan 31, 2016 · 3 revisions

ThrowsNothingConstraint asserts that the delegate passed as its argument does not throw an exception.

####Constructor

ThrowsNothingConstraint()

####Syntax

Throws.Nothing

####Example of Use

Assert.That(() => SomeMethod(actual), Throws.Nothing);
Clone this wiki locally