public void test_internal_consistency_check_99911_kl() { SBMLDocument d = new SBMLDocument(2,4); d.setLevelAndVersion(2,1,false); long errors; Model m = d.createModel(); Reaction r = m.createReaction(); r.setId("r"); SpeciesReference sr = r.createReactant(); sr.setSpecies("s"); KineticLaw kl = new KineticLaw(2,4); kl.setSBOTerm(2); Parameter p = kl.createParameter(); p.setId("p"); r.setKineticLaw(kl); errors = d.checkInternalConsistency(); assertTrue( errors == 0 ); d = null; }