Files
php-uuid/tests/Console/ApplicationTest.php
T
2014-02-21 18:35:01 -06:00

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());
}
}