Files
php-uuid/tests/Console/ApplicationTest.php
T
2015-04-25 12:11:37 -05:00

21 lines
550 B
PHP

<?php
namespace Ramsey\Uuid\Console;
class ApplicationTest extends TestCase
{
/**
* @covers Ramsey\Uuid\Console\Application::__construct
*/
public function testConstructor()
{
$app = new Application();
// Reset the error handler, since the constructor sets it
restore_error_handler();
$this->assertInstanceOf('Ramsey\\Uuid\\Console\\Application', $app);
$this->assertEquals('uuid', $app->getName());
$this->assertEquals(\Ramsey\Uuid\Uuid::VERSION, $app->getVersion());
}
}