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