public static function PHPUnit_Framework_Assert::assertAttributeEquals in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeEquals()
Asserts that a variable is equal to an attribute of an object.
Parameters
mixed $expected:
string $actualAttributeName:
string $actualClassOrObject:
string $message:
float $delta:
int $maxDepth:
bool $canonicalize:
bool $ignoreCase:
14 calls to PHPUnit_Framework_Assert::assertAttributeEquals()
- Framework_AssertTest::testAssertPrivateAttributeEquals in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEquals
- Framework_AssertTest::testAssertPrivateStaticAttributeEquals in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEquals
- Framework_AssertTest::testAssertProtectedAttributeEquals in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEquals
- Framework_AssertTest::testAssertProtectedStaticAttributeEquals in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEquals
- Framework_AssertTest::testAssertPublicAttributeEquals in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeEquals
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 515
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertAttributeEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false) {
self::assertEquals($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message, $delta, $maxDepth, $canonicalize, $ignoreCase);
}