using BusinessLogic.Interfaces.Persistence; using BusinessLogic.Interfaces.Security; using BusinessLogic.Suspense.JournalAllocation; using log4net; using Moq; using System.Diagnostics.CodeAnalysis; using Service = BusinessLogic.Services.SuspenseService; namespace BusinessLogic.UnitTests.Services.Suspense { [ExcludeFromCodeCoverage] public abstract class TestBase { protected readonly Mock MockLogger = new Mock(); protected readonly Mock MockUnitOfWork = new Mock(); protected readonly Mock MockSecurityContext = new Mock(); protected readonly Mock MockJournalAllocationStrategy = new Mock(); protected Service GetService() { var service = new Service( MockLogger.Object, MockUnitOfWork.Object, MockSecurityContext.Object, MockJournalAllocationStrategy.Object); return service; } } }