Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | |||
7 | /** |
||
8 | * @method \Xervice\Twig\TwigFacade getFacade() |
||
9 | */ |
||
10 | class FacadeTest extends \Codeception\Test\Unit |
||
11 | { |
||
12 | use DynamicLocator; |
||
13 | |||
14 | /** |
||
15 | * @group Xervice |
||
16 | * @group Twig |
||
17 | * @group Facade |
||
18 | * @group Integration |
||
19 | * @throws \Core\Locator\Dynamic\ServiceNotParseable |
||
20 | */ |
||
21 | public function testRenderTemplate() |
||
22 | { |
||
23 | $this->getFacade()->addTemplatePath(__DIR__ . '/Template'); |
||
24 | |||
25 | $this->assertEquals( |
||
26 | 'This is a Test: Testing', |
||
35 | } |