public void test_Reaction_setName2() { Reaction p = new Reaction(2,2); int i = p.setName( "1cell"); assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS ); assertEquals( true, p.isSetName() ); i = p.unsetName(); assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS ); assertEquals( false, p.isSetName() ); p = null; }