public static function 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 drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertGreaterThan
PHPUnit_Framework_Assert::assertAttributeGreaterThan in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that an attribute is greater than another value.

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertGreaterThan($expected, $actual, $message = '') {
  self::assertThat($actual, self::greaterThan($expected), $message);
}