/** * @test */ public function testGetLayoutName() { $context = new RenderingContext(); $context->getVariableProvider()->add('layoutName', 'test'); $result = $this->parsingState->getLayoutName($context); $this->assertEquals('test', $result); }