setEnd() public method

public setEnd ( ) : int
return int
 public void test_XMLToken_newSetters_setEnd()
 {
     XMLToken token = new  XMLToken();
       assertTrue( token.isEnd() == false );
       int i = token.setEnd();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.isEnd() == true );
       i = token.unsetEnd();
       assertTrue( i == libsbml.LIBSBML_OPERATION_SUCCESS );
       assertTrue( token.isEnd() == false );
       token = null;
 }