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

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

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 expression, 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 expression, 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.

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 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 That.

public void Expect(bool condition)

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

public void Expect<T>(ActualValueDelegate<T> del, IResolveConstraint expr)

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

public void Expect<T>(ActualValueDelegate<T> 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<T>(ActualValueDelegate<T> 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 expression)

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)

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