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