public function testSetEvaluationAttribute() { $this->assertEquals($this->objProperty, $this->objProperty->setEvaluationAttribute('tl_class', 'foo')); $this->assertEquals('foo', $this->objProperty->getEvaluationAttribute('tl_class')); $this->assertEquals('foo', $GLOBALS['TL_DCA']['tl_test']['fields']['test']['eval']['tl_class']); }