AbstractPropertiesConstraintTestCase
abstract class AbstractPropertiesConstraintTestCase extends AbstractRecursiveConstraintTestCase
| internal | This class is not covered by the backward compatibility promise |
Methods
Creates constraint's instance.
No description
No description
No description
No description
No description
No description
No description
Returns $constraint wrapped with an UnaryOperator.
No description
Assembles expected failure message out of pieces.
Assembles a predicate which is a part of failure message.
No description
No description
Details
in
AbstractConstraintTestCase at line 38
abstract static Constraint
createConstraint(array $ctorArgs)
Creates constraint's instance.
in
AbstractRecursiveConstraintTestCase at line 45
final static iterable
provConstraintUnaryOperatorFailure()
No description
in
AbstractConstraintTestCase at line 55
abstract static iterable
provConstraintEvaluationSucceeds()
No description
in
AbstractConstraintTestCase at line 64
abstract static iterable
provConstraintEvaluationFails()
No description
in
AbstractConstraintTestCase at line 72
abstract static iterable
provNotConstraintEvaluationSucceeds()
No description
in
AbstractConstraintTestCase at line 81
abstract static iterable
provNotConstraintEvaluationFails()
No description
in
AbstractConstraintTestCase at line 92
final void
testConstraintUnaryOperatorFailure(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 114
final void
testConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
in
AbstractConstraintTestCase at line 130
final void
testConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 149
final void
testNotConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)
No description
in
AbstractConstraintTestCase at line 164
final void
testNotConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)
No description
in
AbstractConstraintTestCase at line 181
final protected UnaryOperator
wrapWithUnaryOperator(Constraint $constraint, string $operator = 'noop', int $precedence = 1)
Returns $constraint wrapped with an UnaryOperator.
in
AbstractConstraintTestCase at line 193
__construct(Constraint $constraint, string $operator, int $precedence)
No description
in
AbstractConstraintTestCase at line 200
string
operator()
No description
in
AbstractConstraintTestCase at line 205
int
precedence()
No description
in
AbstractRecursiveConstraintTestCase at line 34
abstract static string
complement()
No description
in
AbstractRecursiveConstraintTestCase at line 65
final static protected string
message(string $exported, bool $negative = false)
Assembles expected failure message out of pieces.
in
AbstractRecursiveConstraintTestCase at line 81
final static protected string
predicate(string $exported, bool $negative = false)
Assembles a predicate which is a part of failure message.
at line 37
static iterable
provArrayWithNonStringKeys()
No description
at line 66
final void
testCreateWithNonStringKeys(array $array, int $count)
No description