/** * @test */ public function testAddCompiledNamespacesDoesNothing() { $instance = $this->getMockForAbstractClass('TYPO3Fluid\\Fluid\\Core\\Compiler\\AbstractCompiledTemplate'); $context = new RenderingContext(); $before = $context->getViewHelperResolver()->getNamespaces(); $instance->addCompiledNamespaces($context); $after = $context->getViewHelperResolver()->getNamespaces(); $this->assertEquals($before, $after); }