public static function 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 drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeEmpty

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 572

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeEmpty($haystackAttributeName, $haystackClassOrObject, $message = '') {
  self::assertEmpty(self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message);
}