Asserts that predicateExpression returns true
.
public static void IsTrue(Expression<Func<bool>> predicateExpression)
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