<PackageReference Include="NUnit" Version="2.6.0.12054" />

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()

public void Expect(object actual, IResolveConstraint constraint)

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

public void Expect(object actual, IResolveConstraint constraint, string message)

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.

public void Expect(object actual, IResolveConstraint constraint, string message, object[] args)

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.

public void Expect(ActualValueDelegate del, IResolveConstraint expr, string message)

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

public void Expect(ActualValueDelegate del, IResolveConstraint expr, string message, object[] args)

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

public void Expect<T>(ref T actual, IResolveConstraint constraint)

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

public void Expect<T>(ref T actual, IResolveConstraint constraint, string message)

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

public void Expect<T>(ref T actual, IResolveConstraint expression, string message, object[] args)

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

public void Expect(bool condition, string message, object[] args)

Asserts that a condition is true. If the condition is false the method throws an AssertionException. Works Identically to Assert.That.

public void Expect(bool condition, string message)

Asserts that a condition is true. If the condition is false the method throws an AssertionException. Works Identically to Assert.That.

public void Expect(bool condition)

Asserts that a condition is true. If the condition is false the method throws an AssertionException. Works Identically Assert.That.

public void Expect(TestDelegate code, IResolveConstraint constraint)

Asserts that the code represented by a delegate throws an exception that satisfies the constraint provided.

public ListMapper Map(ICollection original)

Returns a ListMapper based on a collection.