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\Application Chris@14: * @covers PharIo\Manifest\Type Chris@14: */ Chris@14: class ApplicationTest extends TestCase { Chris@14: /** Chris@14: * @var Application Chris@14: */ Chris@14: private $type; Chris@14: Chris@14: protected function setUp() { Chris@14: $this->type = Type::application(); Chris@14: } Chris@14: Chris@14: public function testCanBeCreated() { Chris@14: $this->assertInstanceOf(Application::class, $this->type); Chris@14: } Chris@14: Chris@14: public function testIsApplication() { Chris@14: $this->assertTrue($this->type->isApplication()); Chris@14: } Chris@14: Chris@14: public function testIsNotLibrary() { Chris@14: $this->assertFalse($this->type->isLibrary()); Chris@14: } Chris@14: Chris@14: public function testIsNotExtension() { Chris@14: $this->assertFalse($this->type->isExtension()); Chris@14: } Chris@14: }