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 /
sebastian /
diff /
tests /
Exception /
Delete
Unzip
Name
Size
Permission
Date
Action
ConfigurationExceptionTest.php
1.09
KB
-rw-r--r--
2018-06-10 09:00
InvalidArgumentExceptionTest.php
997
B
-rw-r--r--
2018-06-10 09:00
Save
Rename
<?php declare(strict_types=1); /* * This file is part of sebastian/diff. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace SebastianBergmann\Diff; use PHPUnit\Framework\TestCase; /** * @covers SebastianBergmann\Diff\ConfigurationException */ final class ConfigurationExceptionTest extends TestCase { public function testConstructWithDefaults(): void { $e = new ConfigurationException('test', 'A', 'B'); $this->assertSame(0, $e->getCode()); $this->assertNull($e->getPrevious()); $this->assertSame('Option "test" must be A, got "string#B".', $e->getMessage()); } public function testConstruct(): void { $e = new ConfigurationException( 'test', 'integer', new \SplFileInfo(__FILE__), 789, new \BadMethodCallException(__METHOD__) ); $this->assertSame('Option "test" must be integer, got "SplFileInfo".', $e->getMessage()); } }