public static function PHPUnit_Framework_Assert::assertAttributeEmpty in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeEmpty()
Asserts that a static attribute of a class or an attribute of an object is empty.
@since Method available since Release 3.5.0
Parameters
string $haystackAttributeName:
mixed $haystackClassOrObject:
string $message:
1 call to PHPUnit_Framework_Assert::assertAttributeEmpty()
- Framework_AssertTest::testAssertAttributeEmpty in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEmpty
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 601
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $message = '') {
self::assertEmpty(self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message);
}