AssertEx.IsTrue method (1 of 2)

Asserts that predicateExpression returns true.

public static void IsTrue(Expression<Func<bool>> predicateExpression)

See Also


AssertEx.IsTrue<T> method (2 of 2)

Asserts that predicateExpression does not return false and allows chaining further asserts on the current value.

public static Task<Assertable<T>> IsTrue<T>(this Task<Assertable<T>> source, 
    Expression<Func<T, bool>> predicateExpression)
    where T : class

See Also