public static function PHPUnit_Framework_Assert::assertAttributeInternalType in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertAttributeInternalType()
Asserts that an attribute is of a given type.
@since Method available since Release 3.5.0
Parameters
string $expected:
string $attributeName:
mixed $classOrObject:
string $message:
1 call to PHPUnit_Framework_Assert::assertAttributeInternalType()
- Framework_AssertTest::testAssertAttributeInternalType in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeInternalType
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 1344
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertAttributeInternalType($expected, $attributeName, $classOrObject, $message = '') {
self::assertInternalType($expected, self::readAttribute($classOrObject, $attributeName), $message);
}