public void test_internal_consistency_check_99905_species() { SBMLDocument d = new SBMLDocument(2,4); long errors; Species s = new Species(2,4); d.setLevelAndVersion(1,2,false); Model m = d.createModel(); Compartment c = m.createCompartment(); c.setId("c"); s.setId("s"); s.setCompartment("c"); s.setSBOTerm(2); m.addSpecies(s); errors = d.checkInternalConsistency(); assertTrue( errors == 0 ); d = null; }