You are here

public static function PHPUnit_Framework_Assert::greaterThan in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::greaterThan()

Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.

@since Method available since Release 3.0.0

Parameters

mixed $value:

Return value

PHPUnit_Framework_Constraint_GreaterThan

6 calls to PHPUnit_Framework_Assert::greaterThan()
Framework_AssertTest::testAssertThatGreaterThan in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::greaterThan
Framework_ConstraintTest::testConstraintGreaterThan in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Assert::greaterThan @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintGreaterThan2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Assert::greaterThan @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintNotGreaterThan in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::greaterThan @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintNotGreaterThan2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::greaterThan @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString

... See full list

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 2615

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function greaterThan($value) {
  return new PHPUnit_Framework_Constraint_GreaterThan($value);
}