public function testCreateSubPalette()
 {
     $objSubPalette = $this->objDataContainer->createSubPalette('subpalette');
     $objSubPalette->addProperty($this->objDataContainer->getProperty('test'));
     $this->assertEquals($GLOBALS['TL_DCA']['tl_test']['subpalettes']['subpalette'], $objSubPalette->getDefinition());
     $this->assertEquals($GLOBALS['TL_DCA']['tl_test'], $this->objDataContainer->getDefinition());
 }