radarrplexorganizrnginxsonarrdashboardhtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximuxlandingpagestartpagelanding
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
510 B
21 lines
510 B
<?php
|
|
|
|
namespace PharIo\Manifest;
|
|
|
|
class ExtElementTest extends \PHPUnit_Framework_TestCase {
|
|
/**
|
|
* @var ExtElement
|
|
*/
|
|
private $ext;
|
|
|
|
protected function setUp() {
|
|
$dom = new \DOMDocument();
|
|
$dom->loadXML('<?xml version="1.0" ?><ext xmlns="https://phar.io/xml/manifest/1.0" name="dom" />');
|
|
$this->ext = new ExtElement($dom->documentElement);
|
|
}
|
|
|
|
public function testNameCanBeRetrieved() {
|
|
$this->assertEquals('dom', $this->ext->getName());
|
|
}
|
|
|
|
}
|
|
|