ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMustacheFactoryTest.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21use PHPUnit\Framework\TestCase;
22
23class ilMustacheFactoryTest extends TestCase
24{
25 public function testCreatInstance(): void
26 {
27 $f = new ilMustacheFactory();
28 $this->assertInstanceOf(ilMustacheFactory::class, $f);
29 }
30
31 public function testCreateBasicEngine(): void
32 {
33 $f = new ilMustacheFactory();
34 $engine = $f->getBasicEngine();
35 $this->assertInstanceOf(Mustache_Engine::class, $engine);
36 }
37}