added comments

This commit is contained in:
2019-06-05 10:15:11 +02:00
parent b934c4b5db
commit ac8c31e525

View File

@@ -37,18 +37,33 @@ use Magdev\Dossier\Service\GitService;
class ApplicationTest extends TestCase class ApplicationTest extends TestCase
{ {
/**
* @var \Magdev\Dossier\Application
*/
private $app = null; private $app = null;
/**
* Setup TestCase
*/
public function setup(): void public function setup(): void
{ {
$this->app = new Application(); $this->app = new Application();
} }
/**
* @group core
*/
public function testGetContainer() public function testGetContainer()
{ {
$this->assertInstanceOf(ContainerBuilder::class, $this->app->getContainer()); $this->assertInstanceOf(ContainerBuilder::class, $this->app->getContainer());
} }
/**
* @group core
*/
public function testGetValidService() public function testGetValidService()
{ {
$this->assertInstanceOf(GitService::class, $this->app->getService('git')); $this->assertInstanceOf(GitService::class, $this->app->getService('git'));