You are here

public static function PHPUnit_Framework_Assert::identicalTo in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.

@since Method available since Release 3.0.0

Parameters

mixed $value:

Return value

PHPUnit_Framework_Constraint_IsIdentical

8 calls to PHPUnit_Framework_Assert::identicalTo()
Framework_AssertTest::testAssertThatIdenticalTo in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::identicalTo
Framework_ConstraintTest::testConstraintIsIdentical in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsIdentical @covers PHPUnit_Framework_Assert::identicalTo @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintIsIdentical2 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsIdentical @covers PHPUnit_Framework_Assert::identicalTo @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintIsIdentical3 in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsIdentical @covers PHPUnit_Framework_Assert::identicalTo @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintIsNotIdentical in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsIdentical @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::identicalTo @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function identicalTo($value) {
  return new PHPUnit_Framework_Constraint_IsIdentical($value);
}