NUnit.Framework.Constraints.PredicateConstraint<T>
Predicate constraint wraps a Predicate in a constraint,
returning success if the predicate is true.
namespace NUnit.Framework.Constraints
{
public class PredicateConstraint<[System.Runtime.CompilerServices.Nullable(2)] T> : Constraint
{
public PredicateConstraint(Predicate<T> predicate);
}
}