You are here

public static function PHPUnit_Framework_Assert::assertAttributeGreaterThanOrEqual in Zircon Profile 8

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

Asserts that an attribute is greater than or equal to another value.

@since Method available since Release 3.1.0

Parameters

mixed $expected:

string $actualAttributeName:

string $actualClassOrObject:

string $message:

1 call to PHPUnit_Framework_Assert::assertAttributeGreaterThanOrEqual()
Framework_AssertTest::testAttributeGreaterThanOrEqual in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeGreaterThanOrEqual

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '') {
  self::assertGreaterThanOrEqual($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message);
}