public void TestInit()
        {
            var exceptionManagerMock = new Mock <IExceptionManager>();

            exceptionManagerMock.Setup(x => x.Raise(thrownException));
            exceptionManager      = exceptionManagerMock.Object;
            eventLogReaderService = new EventLogReaderService(exceptionManager);
            thrownException       = null;
        }
Example #2
0
        public void TestInit()
        {
            var exceptionManagerMock = new Mock <IExceptionManager>();

            exceptionManagerMock.Setup(x => x.Raise(_thrownException));
            _exceptionManager      = exceptionManagerMock.Object;
            _eventLogReaderService = new EventLogReaderService(_exceptionManager);
            _eventLogReaderManager = new EventLogReaderManager(_eventLogReaderService, new EventLogCriteriaConverter());
            _thrownException       = null;
        }