Inheritance: IProgressErrorNotifier
 public void TestCleanup()
 {
     this.uiSHell = null;
     this.serviceProvider = null;
     this.testSubject = null;
 }
 private Exception Setup(bool logWholeMessage)
 {
     string format = this.TestContext.TestName + "{0}";
     string title = this.TestContext.TestName;
     this.testSubject = new VsMessageBoxNotifier(this.serviceProvider, title, format, logWholeMessage);
     Exception ex = this.GenerateException();
     this.uiSHell.ShowMessageBoxAction = (actualTitle, actualMessage) =>
     {
         Assert.AreEqual(title, actualTitle, "Unexpected message box title");
         MessageVerificationHelper.VerifyNotificationMessage(actualMessage, format, ex, logWholeMessage);
     };
     return ex;
 }