protected function PHPUnit_Framework_Constraint_GreaterThan::matches

Evaluates the constraint for parameter $other. Returns TRUE if the constraint is met, FALSE otherwise.

Parameters

mixed $other Value or object to evaluate.:

Return value

bool

Overrides PHPUnit_Framework_Constraint::matches

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Constraint/GreaterThan.php, line 82

Class

PHPUnit_Framework_Constraint_GreaterThan
Constraint that asserts that the value it is evaluated for is greater than a given value.

Code

protected function matches($other) {
  return $this->value < $other;
}