ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
MustacheTemplateEngineFactoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
24use PHPUnit\Framework\TestCase;
25
27{
28 public function testFactoryImplementsInterface(): void
29 {
31 $this->assertInstanceOf(TemplateEngineFactoryInterface::class, $f);
32 }
33
34 public function testBasicEngineCanBeRetrieved(): void
35 {
37 $engine = $f->getBasicEngine();
38 $this->assertInstanceOf(TemplateEngineInterface::class, $engine);
39 }
40}
Factory interface for creating template engine instances.
Interface for template engine functionality used in Mail and related components.