* Tries to validate biomodels file with id 025 with all checks on.
*/
@Test public void checkConsistencyAllChecks() throws IOException, XMLStreamException {
String fileName = DATA_FOLDER + "/l2v1/BIOMD0000000025.xml";
SBMLDocument doc = new SBMLReader().readSBML(fileName);
doc.setConsistencyChecks(SBMLValidator.CHECK_CATEGORY.UNITS_CONSISTENCY, true);
int nbErrors = doc.checkConsistency();
System.out.println("Found " + nbErrors + " errors on Biomodels 025 with the unit checking turned on.");
assertTrue(nbErrors > 0);
assertTrue(doc.getErrorLog().getNumFailsWithSeverity(SEVERITY.ERROR) == 0);
assertTrue(nbErrors == doc.getNumErrors());
assertTrue(nbErrors == doc.getErrorLog().getValidationErrors().size());
}