You are here

public static function PHPUnit_Framework_Assert::assertAttributeNotInstanceOf in Zircon Profile 8

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

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

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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