You are here

public static function PHPUnit_Framework_Assert::greaterThanOrEqual in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.

@since Method available since Release 3.1.0

Parameters

mixed $value:

Return value

PHPUnit_Framework_Constraint_Or

6 calls to PHPUnit_Framework_Assert::greaterThanOrEqual()
Framework_AssertTest::testAssertThatGreaterThanOrEqual in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::greaterThanOrEqual
Framework_ConstraintTest::testConstraintGreaterThanOrEqual in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsEqual @covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Or @covers PHPUnit_Framework_Assert::greaterThanOrEqual @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintGreaterThanOrEqual2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsEqual @covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Or @covers PHPUnit_Framework_Assert::greaterThanOrEqual @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintNotGreaterThanOrEqual in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsEqual @covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Or @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::greaterThanOrEqual @covers…
Framework_ConstraintTest::testConstraintNotGreaterThanOrEqual2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsEqual @covers PHPUnit_Framework_Constraint_GreaterThan @covers PHPUnit_Framework_Constraint_Or @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::greaterThanOrEqual @covers…

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function greaterThanOrEqual($value) {
  return self::logicalOr(new PHPUnit_Framework_Constraint_IsEqual($value), new PHPUnit_Framework_Constraint_GreaterThan($value));
}