public function testBuildFooterView() { $view = array('_tid' => 'xxx', 'a' => 1, 'b' => '2'); $expectedView = $view; $this->decorator->buildFooterView($view, $this->tableMock); $this->fooType->buildFooterView($expectedView, $this->tableMock); $this->assertEquals($expectedView, $view); }