2014-09-06 17:51:04 +02:00
|
|
|
<?php
|
|
|
|
namespace Szurubooru\Tests;
|
2014-10-08 14:47:47 +02:00
|
|
|
use Szurubooru\Injector;
|
|
|
|
use Szurubooru\Tests\AbstractTestCase;
|
2014-09-06 17:51:04 +02:00
|
|
|
|
2014-10-08 14:47:47 +02:00
|
|
|
final class ControllerRepositoryTest extends AbstractTestCase
|
2014-09-06 17:51:04 +02:00
|
|
|
{
|
|
|
|
public function testInjection()
|
|
|
|
{
|
2014-10-08 14:47:47 +02:00
|
|
|
$controllerRepository = Injector::get(\Szurubooru\ControllerRepository::class);
|
2014-09-06 17:51:04 +02:00
|
|
|
$this->assertNotEmpty($controllerRepository->getControllers());
|
|
|
|
}
|
|
|
|
}
|