assertAttributeNotInstanceOf() public static method

Asserts that an attribute is of a given type.
public static assertAttributeNotInstanceOf ( string $expected, string $attributeName, string | object $classOrObject, string $message = '' )
$expected string
$attributeName string
$classOrObject string | object
$message string
Example #1
0
/**
 * Asserts that an attribute is of a given type.
 *
 * @param string $expected
 * @param string $attributeName
 * @param mixed  $classOrObject
 * @param string $message
 * @since Method available since Release 3.5.0
 */
function assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $message = '')
{
    return PHPUnit_Framework_Assert::assertAttributeNotInstanceOf($expected, $attributeName, $classOrObject, $message);
}