public void UpdateSolution_CancelTest()
 {
     IServiceProvider serviceProvider = this.PrepareServiceProvider();
     UpdateSolutionListener target = new UpdateSolutionListener(serviceProvider);
     int expected = VSConstants.E_NOTIMPL;
     int actual;
     actual = target.UpdateSolution_Cancel();
     Assert.AreEqual(expected, actual);
 }
 public void UpdateSolution_CancelTest()
 {
     try
     {
         IServiceProvider serviceProvider = this.PrepareServiceProvider();
         UpdateSolutionListener target = new UpdateSolutionListener(serviceProvider);
         int expected = VSConstants.E_NOTIMPL;
         int actual;
         actual = target.UpdateSolution_Cancel();
         Assert.AreEqual(expected, actual);
     }
     catch (Exception ex)
     {
         // Use try catch to test a workaround on CI build (AppVeyor)
         Console.WriteLine(ex.Message);
     }
 }