You are here

public static function PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual in Zircon Profile 8

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

Asserts that an attribute is smaller than or equal to another value.

@since Method available since Release 3.1.0

Parameters

mixed $expected:

string $actualAttributeName:

string $actualClassOrObject:

string $message:

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

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '') {
  self::assertLessThanOrEqual($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message);
}