/** * @group default */ public function testConstructWInfo() { $fragments = []; $template = new Template($fragments, null, new TemplateInfo('George')); $this->assertSame($fragments, $template->getFragments()); $this->assertEquals('George', $template->getName()); $this->assertNull($template->getFallback()); }