public void Handle(Exception exception)
        {
            _loggingService.LogException(exception);
            var mostInnerException = exception.GetMostInnerException();

            _informationPublisher.Publish(InformationEntry.CreateError(mostInnerException));
        }
        public void CreatingExeption_CreatesErrorEntry_WithExceptionMessage_AsMessage()
        {
            // Arrange
            const string Message   = "Hello Exception";
            var          exception = new ArgumentException(Message);

            // Act
            var actualInfoEntry = InformationEntry.CreateError(exception);

            // Assert
            Assert.AreEqual(false, actualInfoEntry.ShowBusy);
            Assert.AreEqual(Message, actualInfoEntry.Message);
            Assert.IsNull(actualInfoEntry.DisplayLengthInSeconds);
            Assert.AreEqual(InformationEntryType.Error, actualInfoEntry.EntryType);
        }