public void DownloadDataTest()
 {
     DownloadFeatureContingency_Accessor target = new DownloadFeatureContingency_Accessor(); // TODO: Initialize to an appropriate value
     bool ret = false;
     try
     {
         //FeatureContingencyServiceUrl为App.config中配置的 注意FeatureContinency发布后修改
         target.DownloadData();
     }
     catch (Exception)
     {
         ret = true;
     }
     Assert.IsFalse(ret);
 }
 public void DownloadDataTest()
 {
     DownloadFeatureContingency_Accessor target = new DownloadFeatureContingency_Accessor(); // TODO: Initialize to an appropriate value
     Exception ex = null;
     try
     {
         //FeatureContingencyServiceUrl为App.config中配置的 注意FeatureContinency发布后修改
         target.DownloadData();
     }
     catch (Exception e)
     {
         ex = e;
     }
     Assert.IsNull(ex);
 }