public function testIsSelector() { $this->assertFalse($this->objProperty->isSelector()); $this->assertTrue($this->objProperty->isSelector(true)); $this->assertTrue(in_array('test', $GLOBALS['TL_DCA']['tl_test']['palettes']['__selector__'])); $objProperty = $this->objProperty->getDataContainer()->getProperty('done'); $this->assertTrue($objProperty->isSelector()); $this->assertFalse($objProperty->isSelector(false)); $this->assertFalse(in_array('done', $GLOBALS['TL_DCA']['tl_test']['palettes']['__selector__'])); }