public static function PHPUnit_Framework_Assert::assertAttributeNotSame in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \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 vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertAttributeNotSame
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 1227
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);
}