@Test public void checkConsistency() throws IOException, XMLStreamException {
String fileName = DATA_FOLDER + "/l2v4/BIOMD0000000228.xml";
SBMLDocument doc = new SBMLReader().readSBML(fileName);
int nbErrors = doc.checkConsistency();
System.out.println("Found " + nbErrors + " errors on Biomodels 228 with the unit checking turned off.");
// assertTrue(nbErrors > 0); // not sure what is happening with this model and the online validator !!!
assertTrue(nbErrors == 0); // sometimes there is an error, sometimes no errors !