public static function PHPUnit_Framework_Assert::assertAttributeNotSame

Asserts that a variable and an attribute of an object do not have the same type and value.

Parameters

mixed $expected:

string $actualAttributeName:

object $actualClassOrObject:

string $message:

1 call to PHPUnit_Framework_Assert::assertAttributeNotSame()
Framework_AssertTest::testAssertPublicAttributeNotSame in drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotSame

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 1148

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '') {
  self::assertNotSame($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message);
}