public function testIsSortable() { $this->assertEquals($this->objProperty, $this->objProperty->setSortable(false)); $this->assertEquals(false, $this->objProperty->isSortable()); $this->assertEquals(false, $GLOBALS['TL_DCA']['tl_test']['fields']['test']['search']); $this->assertEquals($this->objProperty, $this->objProperty->setSortable(true)); $this->assertEquals(true, $this->objProperty->isSortable()); }