Neos\FluidAdaptor\Tests\Unit\View\AbstractTemplateViewTest::assignMultipleAddsValuesToTemplateVariableContainer PHP Method

assignMultipleAddsValuesToTemplateVariableContainer() public method

    public function assignMultipleAddsValuesToTemplateVariableContainer()
    {
        $this->templateVariableContainer->expects($this->at(0))->method('add')->with('foo', 'FooValue');
        $this->templateVariableContainer->expects($this->at(1))->method('add')->with('bar', 'BarValue');
        $this->templateVariableContainer->expects($this->at(2))->method('add')->with('baz', 'BazValue');
        $this->view->assignMultiple(array('foo' => 'FooValue', 'bar' => 'BarValue'))->assignMultiple(array('baz' => 'BazValue'));
    }