public static function PHPUnit_Framework_Assert::lessThan

Returns a PHPUnit_Framework_Constraint_LessThan matcher object.

@since Method available since Release 3.0.0

Parameters

mixed $value:

Return value

PHPUnit_Framework_Constraint_LessThan

6 calls to PHPUnit_Framework_Assert::lessThan()
Framework_AssertTest::testAssertThatLessThan in drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::lessThan
Framework_ConstraintTest::testConstraintLessThan in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_LessThan @covers PHPUnit_Framework_Assert::lessThan @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintLessThan2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_LessThan @covers PHPUnit_Framework_Assert::lessThan @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintNotLessThan in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_LessThan @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::lessThan @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintNotLessThan2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_LessThan @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::lessThan @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString

... See full list

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 2664

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function lessThan($value) {
  return new PHPUnit_Framework_Constraint_LessThan($value);
}