AssertionHelper
AssertionHelper is an optional base class for user tests,
allowing the use of shorter names for constraints and
asserts and avoiding conflict with the definition of
Is, from which it inherits much of its
behavior, in certain mock object frameworks.
public AssertionHelper()
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure. Works
identically to Assert.That
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure. Works
identically to Assert.That.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure. Works
identically to Assert.That
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Apply a constraint to an actual value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Apply a constraint to a referenced value, succeeding if the constraint
is satisfied and throwing an assertion exception on failure.
Asserts that a condition is true. If the condition is false the method throws
an AssertionException. Works Identically to Assert.That.
Asserts that a condition is true. If the condition is false the method throws
an AssertionException. Works Identically to Assert.That.
Asserts that a condition is true. If the condition is false the method throws
an AssertionException. Works Identically Assert.That.
Asserts that the code represented by a delegate throws an exception
that satisfies the constraint provided.
Returns a ListMapper based on a collection.