*/
@SuppressWarnings("deprecation")
@Test public void readL1V2Branch() throws XMLStreamException, InvalidPropertiesFormatException, IOException, ClassNotFoundException {
String fileName = DATA_FOLDER + "/libsbml-test-data/l1v2-branch.xml";
SBMLDocument doc = new SBMLReader().readSBMLFile(fileName);
Model model = doc.getModel();
assertTrue(doc.getLevel() == 1 && doc.getVersion() == 2);
assertTrue(model.getLevel() == 1 && model.getVersion() == 2);
// assertTrue(model.getId().equals("")); // TODO: document. Different behavior than libsbml, we set the id as the name for SBML level 1 models.
assertTrue(model.getId().equals("Branch"));