mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
21 lines
554 B
PHP
21 lines
554 B
PHP
<?php
|
|
namespace Rhumsaa\Uuid\Console;
|
|
|
|
class ApplicationTest extends TestCase
|
|
{
|
|
/**
|
|
* @covers Rhumsaa\Uuid\Console\Application::__construct
|
|
*/
|
|
public function testConstructor()
|
|
{
|
|
$app = new Application();
|
|
|
|
// Reset the error handler, since the constructor sets it
|
|
restore_error_handler();
|
|
|
|
$this->assertInstanceOf('Rhumsaa\\Uuid\\Console\\Application', $app);
|
|
$this->assertEquals('uuid', $app->getName());
|
|
$this->assertEquals(\Rhumsaa\Uuid\Uuid::VERSION, $app->getVersion());
|
|
}
|
|
}
|