You are here

public static function PHPUnit_Framework_Assert::logicalNot in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_Not matcher object.

@since Method available since Release 3.0.0

Parameters

PHPUnit_Framework_Constraint $constraint:

Return value

PHPUnit_Framework_Constraint_Not

50 calls to PHPUnit_Framework_Assert::logicalNot()
Framework_AssertTest::testAssertThatAnythingXorNotAnything in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::anything @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Assert::logicalXor
Framework_ConstraintTest::testAttributeNotEqualTo in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testAttributeNotEqualTo2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintArrayNotContains in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_TraversableContains @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintArrayNotContains2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_TraversableContains @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function logicalNot(PHPUnit_Framework_Constraint $constraint) {
  return new PHPUnit_Framework_Constraint_Not($constraint);
}