KsortedConstraintTestCase
abstract class KsortedConstraintTestCase extends AbstractConstraintTestCase
| internal | This class is not covered by the backward compatibility promise |
Methods
static Constraint
createConstraint(array $ctorArgs)
Creates constraint's instance.
static iterable
provConstraintUnaryOperatorFailure()
No description
static iterable
provNotConstraintEvaluationSucceeds()
No description
void
testConstraintUnaryOperatorFailure(array $ctorArgs, mixed $actual, string $message)
No description
void
testConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
void
testConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
void
testNotConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
void
testNotConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
UnaryOperator
wrapWithUnaryOperator(Constraint $constraint, string $operator = 'noop', int $precedence = 1)
Returns $constraint wrapped with an UnaryOperator.
__construct(Constraint $constraint, string $operator, int $precedence)
No description
static string
adjective()
No description
static string
message(string $export, bool $negative = false)
No description
static string
statement(string $export, bool $negative = false)
No description
Details
in
AbstractConstraintTestCase at line 37
abstract static Constraint
createConstraint(array $ctorArgs)
Creates constraint's instance.
at line 40
final static iterable
provConstraintUnaryOperatorFailure()
No description
in
AbstractConstraintTestCase at line 54
abstract static iterable
provConstraintEvaluationSucceeds()
No description
in
AbstractConstraintTestCase at line 63
abstract static iterable
provConstraintEvaluationFails()
No description
in
AbstractConstraintTestCase at line 71
abstract static iterable
provNotConstraintEvaluationSucceeds()
No description
in
AbstractConstraintTestCase at line 80
abstract static iterable
provNotConstraintEvaluationFails()
No description
in
AbstractConstraintTestCase at line 89
final void
testConstraintUnaryOperatorFailure(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 111
final void
testConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
in
AbstractConstraintTestCase at line 126
final void
testConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 143
final void
testNotConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
in
AbstractConstraintTestCase at line 156
final void
testNotConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 172
final protected UnaryOperator
wrapWithUnaryOperator(Constraint $constraint, string $operator = 'noop', int $precedence = 1)
Returns $constraint wrapped with an UnaryOperator.
in
AbstractConstraintTestCase at line 178
__construct(Constraint $constraint, string $operator, int $precedence)
No description
in
AbstractConstraintTestCase at line 183
string
operator()
No description
in
AbstractConstraintTestCase at line 188
int
precedence()
No description
at line 29
abstract static string
adjective()
No description
at line 52
final static protected string
message(string $export, bool $negative = false)
No description
at line 60
final static protected string
statement(string $export, bool $negative = false)
No description