setName() public method

public setName ( string name ) : int
name string
return int
 public void test_Species_setName2()
 {
     Species c = new  Species(2,2);
       int i = c.setName( "1cell");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( true, c.isSetName() );
       i = c.unsetName();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertEquals( false, c.isSetName() );
       c = null;
 }