You are here

public static function PHPUnit_Framework_Assert::assertAttributeNotCount in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeNotCount()

Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.

@since Method available since Release 3.6.0

Parameters

int $expectedCount:

string $haystackAttributeName:

mixed $haystackClassOrObject:

string $message:

1 call to PHPUnit_Framework_Assert::assertAttributeNotCount()
Framework_AssertTest::testAssertAttributeNotCount in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotCount

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 470

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeNotCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '') {
  self::assertNotCount($expectedCount, self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message);
}