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