public void test_Compartment_setName2() { Compartment c = new Compartment(1,2); int i = c.setName( "1cell"); assertTrue( i == libsbml.LIBSBML_INVALID_ATTRIBUTE_VALUE ); assertEquals( false, c.isSetName() ); i = c.unsetName(); assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS ); assertEquals( false, c.isSetName() ); c = null; }