 1ac0f42a58
			
		
	
	1ac0f42a58
	
	
	
		
			
			Travis config update Removed HHVM script as Laravel no longer support HHVM after releasing 5.3
		
			
				
	
	
		
			22 lines
		
	
	
		
			510 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			510 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?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());
 | |
|     }
 | |
| 
 | |
| }
 |