/** * @test */ public function getByArray() { $cell = new Tx_PtExtlist_Domain_Model_List_Cell(); $cell->setValue('testValue'); $cell->setRowIndex(1); $cell->setColumnIndex(2); $cell->addSpecialValue('key1', 'value1'); $cell->setCSSClass('testCssClass'); $this->assertEquals($this->testDataArray, $cell->getAsArray()); }