unsetOrganization() public méthode

public unsetOrganization ( ) : int
Résultat int
 public void test_ModelCreator_setOrganization()
 {
     ModelCreator mc = new  ModelCreator();
       assertTrue( mc != null );
       int i = mc.setOrganization( "Caltech");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( mc.isSetOrganization() == true );
       assertTrue((  "Caltech" == mc.getOrganization() ));
       i = mc.setOrganization( "");
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( mc.isSetOrganization() == false );
       i = mc.setOrganization( "Caltech");
       assertTrue( mc.isSetOrganization() == true );
       i = mc.unsetOrganization();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( mc.isSetOrganization() == false );
       mc = null;
 }