mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
Upgraded to PSR-4 autoloading
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user