123456789101112131415161718192021222324252627 |
- <?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'));
- }
- }
|