Assert.That Method (NUnit.Framework)

Apply a constraint to an actual value, succeeding if the constraint is satisfied and throwing an assertion exception on failure.