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 : 18.188.39.197
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
react /
dns /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
Config
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
Fixtures
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
Model
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
Protocol
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
Query
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
Resolver
[ DIR ]
drwxr-xr-x
2018-11-11 09:00
CallableStub.php
101
B
-rw-r--r--
2018-11-11 09:00
FunctionalResolverTest.php
2.96
KB
-rw-r--r--
2018-11-11 09:00
TestCase.php
1.55
KB
-rw-r--r--
2018-11-11 09:00
Save
Rename
<?php namespace React\Tests\Dns; use PHPUnit\Framework\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { protected function expectCallableOnce() { $mock = $this->createCallableMock(); $mock ->expects($this->once()) ->method('__invoke'); return $mock; } protected function expectCallableOnceWith($value) { $mock = $this->createCallableMock(); $mock ->expects($this->once()) ->method('__invoke') ->with($value); return $mock; } protected function expectCallableNever() { $mock = $this->createCallableMock(); $mock ->expects($this->never()) ->method('__invoke'); return $mock; } protected function createCallableMock() { return $this->getMockBuilder('React\Tests\Dns\CallableStub')->getMock(); } public function setExpectedException($exception, $exceptionMessage = '', $exceptionCode = null) { if (method_exists($this, 'expectException')) { // PHPUnit 5 $this->expectException($exception); if ($exceptionMessage !== '') { $this->expectExceptionMessage($exceptionMessage); } if ($exceptionCode !== null) { $this->expectExceptionCode($exceptionCode); } } else { // legacy PHPUnit 4 parent::setExpectedException($exception, $exceptionMessage, $exceptionCode); } } }