public void test_Rule_setVariable2() {
   int i = R.setVariable("mole");
   assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS);
   assertEquals(true, R.isSetVariable());
   i = R.setVariable("");
   assertTrue(i == libsbml.LIBSBML_OPERATION_SUCCESS);
   assertEquals(false, R.isSetVariable());
 }
 public void test_Rule_setVariable3() {
   Rule R1 = new AlgebraicRule(1, 2);
   int i = R1.setVariable("r");
   assertTrue(i == libsbml.LIBSBML_UNEXPECTED_ATTRIBUTE);
   assertEquals(false, R1.isSetVariable());
   R1 = null;
 }
 public void test_Rule_setVariable1() {
   int i = R.setVariable("1mole");
   assertTrue(i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE);
   assertEquals(false, R.isSetVariable());
 }