added comments
This commit is contained in:
@@ -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'));
|
||||||
|
|||||||
Reference in New Issue
Block a user