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 PharIo\Version\Version; use PHPUnit\Framework\TestCase; /** * @covers \PharIo\Manifest\BundledComponentCollection * @covers \PharIo\Manifest\BundledComponentCollectionIterator * * @uses \PharIo\Manifest\BundledComponent * @uses \PharIo\Version\Version */ class BundledComponentCollectionTest extends TestCase { /** * @var BundledComponentCollection */ private $collection; /** * @var BundledComponent */ private $item; protected function setUp() { $this->collection = new BundledComponentCollection; $this->item = new BundledComponent('phpunit/php-code-coverage', new Version('4.0.2')); } public function testCanBeCreated() { $this->assertInstanceOf(BundledComponentCollection::class, $this->collection); } public function testCanBeCounted() { $this->collection->add($this->item); $this->assertCount(1, $this->collection); } public function testCanBeIterated() { $this->collection->add($this->createMock(BundledComponent::class)); $this->collection->add($this->item); $this->assertContains($this->item, $this->collection); } public function testKeyPositionCanBeRetreived() { $this->collection->add($this->item); foreach($this->collection as $key => $item) { $this->assertEquals(0, $key); } } }