File manager - Edit - /home/u608250662/domains/dspmrvm.com/public_html/vendor/hamcrest/hamcrest-php/tests/Hamcrest/Core/IsIdenticalTest.php
Back
<?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)); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings