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
static iterable
static iterable
static iterable
static iterable
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

string
operator()

No description

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

abstract static Constraint createConstraint(array $ctorArgs)

Creates constraint's instance.

Parameters

array $ctorArgs

Return Value

Constraint

at line 40
final static iterable provConstraintUnaryOperatorFailure()

No description

Return Value

iterable

abstract static iterable provConstraintEvaluationSucceeds()

No description

Return Value

iterable

abstract static iterable provConstraintEvaluationFails()

No description

Return Value

iterable

abstract static iterable provNotConstraintEvaluationSucceeds()

No description

Return Value

iterable

abstract static iterable provNotConstraintEvaluationFails()

No description

Return Value

iterable

final void testConstraintUnaryOperatorFailure(array $ctorArgs, mixed $actual, string $message)

No description

Parameters

array $ctorArgs
mixed $actual
string $message

Return Value

void

final void testConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)

No description

Parameters

array $ctorArgs

arguments passed to createConstraint()

mixed $actual

actual value

Return Value

void

final void testConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)

No description

Parameters

array $ctorArgs

arguments passed to createConstraint()

mixed $actual
string $message

Return Value

void

final void testNotConstraintEvaluationSucceeds(array $ctorArgs, mixed $actual)

No description

Parameters

array $ctorArgs
mixed $actual

Return Value

void

final void testNotConstraintEvaluationFails(array $ctorArgs, mixed $actual, string $message)

No description

Parameters

array $ctorArgs
mixed $actual
string $message

Return Value

void

final protected UnaryOperator wrapWithUnaryOperator(Constraint $constraint, string $operator = 'noop', int $precedence = 1)

Returns $constraint wrapped with an UnaryOperator.

Parameters

Constraint $constraint
string $operator
int $precedence

Return Value

UnaryOperator

Exceptions

Exception
RuntimeException
ReflectionException

__construct(Constraint $constraint, string $operator, int $precedence)

No description

Parameters

Constraint $constraint
string $operator
int $precedence

string operator()

No description

Return Value

string

int precedence()

No description

Return Value

int

at line 29
abstract static string adjective()

No description

Return Value

string

at line 52
final static protected string message(string $export, bool $negative = false)

No description

Parameters

string $export
bool $negative

Return Value

string

at line 60
final static protected string statement(string $export, bool $negative = false)

No description

Parameters

string $export
bool $negative

Return Value

string