Text
Helper class with static methods used to supply constraints
that operate on strings.
Returns a ConstraintExpression, which will apply
the following constraint to all members of a collection,
succeeding if all of them succeed.
public Text()
Returns a constraint that succeeds if the actual
value contains the substring supplied as an argument.
Returns a constraint that fails if the actual
value contains the substring supplied as an argument.
Returns a constraint that fails if the actual
value ends with the substring supplied as an argument.
Returns a constraint that fails if the actual
value matches the pattern supplied as an argument.
Returns a constraint that fails if the actual
value starts with the substring supplied as an argument.
Returns a constraint that succeeds if the actual
value ends with the substring supplied as an argument.
Returns a constraint that succeeds if the actual
value matches the Regex pattern supplied as an argument.
Returns a constraint that succeeds if the actual
value starts with the substring supplied as an argument.