public void test_internal_consistency_check_99911_rule_assign() { SBMLDocument d = new SBMLDocument(2,4); long errors; Model m = d.createModel(); Parameter p = m.createParameter(); p.setId("p"); p.setConstant(false); Rule r = new AssignmentRule(2,4); d.setLevelAndVersion(2,1,false); r.setVariable("p"); r.setSBOTerm(2); m.addRule(r); errors = d.checkInternalConsistency(); assertTrue( errors == 0 ); d = null; }