public function testSetLabel() { $this->assertEquals($this->objProperty, $this->objProperty->setLabel(array('Holla', 'hoop'))); $this->assertEquals(array('Holla', 'hoop'), $this->objProperty->getLabel()); $this->assertEquals(array('Holla', 'hoop'), $GLOBALS['TL_DCA']['tl_test']['fields']['test']['label']); }