\PHPUnit_Framework_Constraint_Not

Logical NOT.

Synopsis

class PHPUnit_Framework_Constraint_Not extends PHPUnit_Framework_Constraint {
  • // members
  • protected PHPUnit_Framework_Constraint $constraint;
  • // Inherited members from PHPUnit_Framework_Constraint
  • protected $exporter;
}

Hierarchy

Violations

Checkstyle

Line Column Severity Message
159 13 error CASE statements must not be defined using curly braces
164 13 error DEFAULT statements must not be defined using curly braces
182 13 error CASE statements must not be defined using curly braces
187 13 error DEFAULT statements must not be defined using curly braces

Members

protected

Methods

protected

public

Inherited from PHPUnit_Framework_Constraint

protected

  • additionalFailureDescription() — Return additional failure description where needed
  • fail() — Throws an exception for the given compared value and test description
  • failureDescription() — Returns the description of the failure
  • matches() — Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

public

  • count() — Counts the number of constraint elements.
  • evaluate() — Evaluates the constraint for parameter $other

History