public static function PHPUnit_Framework_Assert::assertAttributeGreaterThan in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeGreaterThan()
Asserts that an attribute is greater than 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::assertAttributeGreaterThan()
- Framework_AssertTest::testAttributeGreaterThan in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeGreaterThan
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 660
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertAttributeGreaterThan($expected, $actualAttributeName, $actualClassOrObject, $message = '') {
self::assertGreaterThan($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message);
}