| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function testSetMeteoconsTwigExtension(): void { |
||
| 32 | |||
| 33 | // Set a Meteocons Twig extension mock. |
||
| 34 | $meteoconsTwigExtension = new MeteoconsTwigExtension($this->twigEnvironment); |
||
| 35 | |||
| 36 | $obj = new TestMeteoconsTwigExtensionTrait(); |
||
| 37 | |||
| 38 | $obj->setMeteoconsTwigExtension($meteoconsTwigExtension); |
||
| 39 | $this->assertSame($meteoconsTwigExtension, $obj->getMeteoconsTwigExtension()); |
||
| 40 | } |
||
| 42 |