public function itThrowsAnExceptionIfXmlDoesNotMatchRNG()
 {
     $xml_validator = stub('XML_RNGValidator')->validate()->throws(new XML_ParseException('', array(), array()));
     $cardwall_config_xml_import = new CardwallConfigXmlImport($this->group_id, $this->mapping, $this->cardwall_ontop_dao, $this->column_dao, $this->event_manager, $xml_validator);
     $this->expectException('XML_ParseException');
     $cardwall_config_xml_import->import($this->xml_input);
 }
 /**
  *
  * @param array $params
  * @see Event::IMPORT_XML_PROJECT_TRACKER_DONE
  */
 public function import_xml_project_tracker_done($params)
 {
     $cardwall_ontop_import = new CardwallConfigXmlImport($params['project_id'], $params['mapping'], new Cardwall_OnTop_Dao(), new Cardwall_OnTop_ColumnDao(), EventManager::instance(), new XML_RNGValidator());
     $cardwall_ontop_import->import($params['xml_content']);
 }