public function testStoreFromPost()
 {
     \DBG::log('*** testStoreFromPost ***');
     global $_POST, $_FILES;
     Setting::init('MultiSiteTest', 'posttestgroup', 'FileSystem');
     //Setting::add('key10.1', '', false, Setting::TYPE_FILEUPLOAD);
     Setting::add('key10.2', '', false, Setting::TYPE_CHECKBOX);
     Setting::add('key10.3', '', false, Setting::TYPE_CHECKBOXGROUP);
     Setting::add('key10.4', '');
     $_POST = array('key10.2' => 'postcheckboxvalue10', 'key10.3' => array_flip(array(1, 2, 3, 4, 5, 6)), 'key10.4' => 'postvalue10');
     try {
         Setting::storeFromPost();
     } catch (Exception $e) {
     } finally {
         Setting::init('MultiSiteTest', 'posttestgroup', 'FileSystem');
         $this->assertEquals('postcheckboxvalue10', Setting::getValue('key10.2'));
         $this->assertEquals('1,2,3,4,5,6', Setting::getValue('key10.3'));
         $this->assertEquals('postvalue10', Setting::getValue('key10.4'));
         Setting::init('MultiSiteTest', null, 'FileSystem');
         Setting::deleteModule();
     }
 }