Chris@14: , Sebastian Heuer , Sebastian Bergmann Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace PharIo\Manifest; Chris@14: Chris@14: use PHPUnit\Framework\TestCase; Chris@14: Chris@14: /** Chris@14: * @covers PharIo\Manifest\PhpExtensionRequirement Chris@14: */ Chris@14: class PhpExtensionRequirementTest extends TestCase { Chris@14: public function testCanBeCreated() { Chris@14: $this->assertInstanceOf(PhpExtensionRequirement::class, new PhpExtensionRequirement('dom')); Chris@14: } Chris@14: Chris@14: public function testCanBeUsedAsString() { Chris@14: $this->assertEquals('dom', new PhpExtensionRequirement('dom')); Chris@14: } Chris@14: }