PATH:
home
/
lab2454c
/
netxzero.com
/
carbon-credit
/
vendor
/
hamcrest
/
hamcrest-php
/
tests
/
Hamcrest
/
Core
<?php namespace Hamcrest\Core; class IsIdenticalTest extends \Hamcrest\AbstractMatcherTest { protected function createMatcher() { return \Hamcrest\Core\IsIdentical::identicalTo('irrelevant'); } public function testEvaluatesToTrueIfArgumentIsReferenceToASpecifiedObject() { $o1 = new \stdClass(); $o2 = new \stdClass(); assertThat($o1, identicalTo($o1)); assertThat($o2, not(identicalTo($o1))); } public function testReturnsReadableDescriptionFromToString() { $this->assertDescription('"ARG"', identicalTo('ARG')); } public function testReturnsReadableDescriptionFromToStringWhenInitialisedWithNull() { $this->assertDescription('null', identicalTo(null)); } }
[-] IsNotTest.php
[edit]
[-] IsSameTest.php
[edit]
[-] DescribedAsTest.php
[edit]
[+]
..
[-] IsTest.php
[edit]
[-] AnyOfTest.php
[edit]
[-] IsInstanceOfTest.php
[edit]
[-] IsAnythingTest.php
[edit]
[-] SetTest.php
[edit]
[-] IsEqualTest.php
[edit]
[-] AllOfTest.php
[edit]
[-] CombinableMatcherTest.php
[edit]
[-] IsCollectionContainingTest.php
[edit]
[-] IsIdenticalTest.php
[edit]
[-] SampleBaseClass.php
[edit]
[-] IsNullTest.php
[edit]
[-] HasToStringTest.php
[edit]
[-] EveryTest.php
[edit]
[-] SampleSubClass.php
[edit]
[-] IsTypeOfTest.php
[edit]