public static function PHPUnit_Framework_Assert::assertAttributeNotContains in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeNotContains()
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
@since Method available since Release 3.0.0
Parameters
mixed $needle:
string $haystackAttributeName:
mixed $haystackClassOrObject:
string $message:
bool $ignoreCase:
bool $checkForObjectIdentity:
bool $checkForNonObjectIdentity:
4 calls to PHPUnit_Framework_Assert::assertAttributeNotContains()
- Framework_AssertTest::testAssertAttributeNotContainsNonObject in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeNotContains
- Framework_AssertTest::testAssertPrivateAttributeNotContains in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeNotContains
- Framework_AssertTest::testAssertProtectedAttributeNotContains in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeNotContains
- Framework_AssertTest::testAssertPublicAttributeNotContains in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeNotContains
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 239
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertAttributeNotContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
self::assertNotContains($needle, self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message, $ignoreCase, $checkForObjectIdentity, $checkForNonObjectIdentity);
}