using BusinessLogic.Interfaces.Persistence; using BusinessLogic.Interfaces.Security; using BusinessLogic.Interfaces.Services; using BusinessLogic.Interfaces.Strategies; using log4net; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics.CodeAnalysis; using Service = BusinessLogic.Services.TransactionService; namespace BusinessLogic.UnitTests.Services.Transaction { [TestClass] [ExcludeFromCodeCoverage] public class BaseTransactionTest { protected readonly Mock MockLogger = new Mock(); protected readonly Mock MockUnitOfWork = new Mock(); protected readonly Mock MockSecurityContext = new Mock(); protected readonly Mock MockVatStrategy = new Mock(); protected readonly Mock MockEmailService = new Mock(); protected readonly Mock MockUserService = new Mock(); protected Service GetService() { var service = new Service( MockLogger.Object, MockUnitOfWork.Object, MockVatStrategy.Object, MockEmailService.Object, MockSecurityContext.Object, MockUserService.Object); return service; } } }