public void test_Rule_setUnits4()
 {
     Rule R1 = new  AssignmentRule(1,2);
       R1.setL1TypeCode(libsbml.SBML_PARAMETER_RULE);
       int i = R1.setUnits( "second");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( true, R1.isSetUnits() );
       i = R1.setUnits("");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, R1.isSetUnits() );
       R1 = null;
 }