Neos\FluidAdaptor\Tests\Unit\View\AbstractTemplateViewTest::assignCanOverridePreviouslyAssignedValues PHP 메소드

assignCanOverridePreviouslyAssignedValues() 공개 메소드

    public function assignCanOverridePreviouslyAssignedValues()
    {
        $this->templateVariableContainer->expects($this->at(0))->method('add')->with('foo', 'FooValue');
        $this->templateVariableContainer->expects($this->at(1))->method('add')->with('foo', 'FooValueOverridden');
        $this->view->assign('foo', 'FooValue');
        $this->view->assign('foo', 'FooValueOverridden');
    }