You are here

public static function PHPUnit_Framework_Assert::assertAttributeNotInternalType in Zircon Profile 8

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

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::assertAttributeNotInternalType()
Framework_AssertTest::testAssertAttributeNotInternalType in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotInternalType

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeNotInternalType($expected, $attributeName, $classOrObject, $message = '') {
  self::assertNotInternalType($expected, self::readAttribute($classOrObject, $attributeName), $message);
}