Asserts the number of elements of an array, Countable or Iterator that is stored in an attribute.
@since Method available since Release 3.6.0
integer $expectedCount:
string $haystackAttributeName:
mixed $haystackClassOrObject:
string $message:
public static function assertAttributeCount($expectedCount, $haystackAttributeName, $haystackClassOrObject, $message = '') {
self::assertCount($expectedCount, self::readAttribute($haystackClassOrObject, $haystackAttributeName), $message);
}