You are here

public static function PHPUnit_Framework_Assert::assertAttributeNotEquals in Zircon Profile 8

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

Asserts that a variable is not equal to an attribute of an object.

Parameters

mixed $expected:

string $actualAttributeName:

string $actualClassOrObject:

string $message:

float $delta:

int $maxDepth:

bool $canonicalize:

bool $ignoreCase:

6 calls to PHPUnit_Framework_Assert::assertAttributeNotEquals()
Framework_AssertTest::testAssertPrivateAttributeNotEquals in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotEquals
Framework_AssertTest::testAssertPrivateStaticAttributeNotEquals in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotEquals
Framework_AssertTest::testAssertProtectedAttributeNotEquals in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotEquals
Framework_AssertTest::testAssertProtectedStaticAttributeNotEquals in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotEquals
Framework_AssertTest::testAssertPublicAttributeNotEquals in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertAttributeNotEquals

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertAttributeNotEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false) {
  self::assertNotEquals($expected, self::readAttribute($actualClassOrObject, $actualAttributeName), $message, $delta, $maxDepth, $canonicalize, $ignoreCase);
}