1234567891011121314151617181920212223242526 |
- <?php
- namespace PharIo\Manifest;
- use PHPUnit\Framework\TestCase;
- class PhpExtensionRequirementTest extends TestCase {
- public function testCanBeCreated() {
- $this->assertInstanceOf(PhpExtensionRequirement::class, new PhpExtensionRequirement('dom'));
- }
- public function testCanBeUsedAsString() {
- $this->assertEquals('dom', new PhpExtensionRequirement('dom'));
- }
- }
|