ConstraintTestCase
abstract class ConstraintTestCase extends TestCase
| internal | This class is not covered by the backward compatibility promise | 
Methods
Tests whether the constraint throws expected exception with expected message when wrapped with an unary operator.
No description
No description
Returns $constraint wrapped with an UnaryOperator.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Assembles expected failure message out of pieces.
Assembles a statement which is a part of failure message.
Details
        in 
TestCase at line 33
            abstract    static            Constraint
    createConstraint(mixed ...$args)
        
    
    No description
        in 
TestCase at line 42
            abstract    static            string
    getConstraintClass()
        
    
    Returns constraint's class name.
        in 
TestCase at line 52
        final                    Constraint
    examineCreateConstraint(array $args)
        
    
    No description
        in 
TestCase at line 73
        final                    void
    examineConstraintUnaryOperatorFailure(array $args, mixed $actual, string $message)
        
    
    Tests whether the constraint throws expected exception with expected message when wrapped with an unary operator.
        in 
TestCase at line 95
        final                    void
    examineConstraintMatchSucceeds(array $args, mixed $actual)
        
    
    No description
        in 
TestCase at line 109
        final                    void
    examineConstraintMatchFails(array $args, mixed $actual, string $message)
        
    
    No description
        in 
TestCase at line 128
        final                    void
    examineNotConstraintMatchSucceeds(array $args, mixed $actual)
        
    
    No description
        in 
TestCase at line 141
        final                    void
    examineNotConstraintMatchFails(array $args, mixed $actual, string $message)
        
    
    No description
        in 
TestCase at line 161
        final            protected        UnaryOperator
    wrapWithUnaryOperator(Constraint $constraint, string $operator = 'noop', int $precedence = 1)
        
    
    Returns $constraint wrapped with an UnaryOperator.
        in 
TestCase at line 167
                            
    __construct(Constraint $constraint, string $operator, int $precedence)
        
    
    No description
        in 
TestCase at line 172
                            string
    operator()
        
    
    No description
        in 
TestCase at line 177
                            int
    precedence()
        
    
    No description
        at line 31
            abstract    static            string
    subject()
        
    
    No description
        at line 33
            abstract    static            string
    selectable()
        
    
    No description
        at line 35
            abstract    static            string
    adjective()
        
    
    No description
        at line 42
                static            array
    provCreateConstraint()
        
    
    No description
        at line 62
        final                    void
    testCreateConstraint(array $args, array $expect)
        
    
    No description
        at line 75
        final                    void
    testConstraintUnaryOperatorFailure()
        
    
    No description
        at line 90
        final                    void
    examineValuesMatchSucceeds(array $expect, mixed $actual)
        
    
    No description
        at line 103
        final                    void
    examineValuesMatchFails(array $expect, mixed $actual, string $string)
        
    
    No description
        at line 118
        final                    void
    examineNotValuesMatchSucceeds(array $expect, mixed $actual)
        
    
    No description
        at line 130
        final                    void
    examineNotValuesMatchFails(array $expect, mixed $actual, string $string)
        
    
    No description
        at line 148
        final        static    protected        string
    message(string $export, bool $negative = false)
        
    
    Assembles expected failure message out of pieces.
        at line 163
        final        static    protected        string
    statement(string $export, bool $negative = false)
        
    
    Assembles a statement which is a part of failure message.