Inheritance: IProgressErrorNotifier
 public void TestCleanup()
 {
     this.activityLog = null;
     this.serviceProvider = null;
     this.testSubject = null;
 }
 private Exception Setup(bool logWholeMessage)
 {
     string format = this.TestContext.TestName + "{0}";
     string source = this.TestContext.TestName;
     this.testSubject = new VsActivityLogNotifier(this.serviceProvider, source, format, logWholeMessage);
     Exception ex = this.GenerateException();
     this.activityLog.LogEntryAction = (entryType, actualSource, actualMessage) =>
     {
         Assert.AreEqual((uint)__ACTIVITYLOG_ENTRYTYPE.ALE_ERROR, entryType, "Unexpected entry type");
         Assert.AreEqual(source, actualSource, "Unexpected entry source");
         MessageVerificationHelper.VerifyNotificationMessage(actualMessage, format, ex, logWholeMessage);
     };
     return ex;
 }