public void test_internal_consistency_check_99905()
 {
     SBMLDocument d = new SBMLDocument(2,4);
       long errors;
       Compartment c = new Compartment(2,4);
       d.setLevelAndVersion(1,2,false);
       Model m = d.createModel();
       c.setId("c");
       c.setSBOTerm(2);
       m.addCompartment(c);
       errors = d.checkInternalConsistency();
       assertTrue( errors == 1 );
       assertTrue( d.getError(0).getErrorId() == 10103 );
       d = null;
 }
 public void test_SBase_setSBOTerm1()
 {
     SBase c = new Compartment(1,2);
       int i = c.setSBOTerm(2);
       assertTrue( i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE );
       assertEquals( false, c.isSetSBOTerm() );
       c = null;
 }