public static function PHPUnit_Framework_Assert::assertLessThan in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertLessThan()
Asserts that a value is smaller than another value.
@since Method available since Release 3.1.0
Parameters
mixed $expected:
mixed $actual:
string $message:
2 calls to PHPUnit_Framework_Assert::assertLessThan()
- Framework_AssertTest::testLessThan in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertLessThan
- PHPUnit_Framework_Assert::assertAttributeLessThan in vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php - Asserts that an attribute is smaller than another value.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 712
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertLessThan($expected, $actual, $message = '') {
self::assertThat($actual, self::lessThan($expected), $message);
}