using BusinessLogic.Interfaces.Persistence; using BusinessLogic.Interfaces.Security; using BusinessLogic.Interfaces.Services; using BusinessLogic.Interfaces.Validators; using BusinessLogic.Services; using log4net; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics.CodeAnalysis; namespace BusinessLogic.UnitTests.Services.TransactionTransfer { [TestClass] [ExcludeFromCodeCoverage] public class BaseTransactionTransferTest { protected readonly Mock MockLogger = new Mock(); protected readonly Mock MockUnitOfWork = new Mock(); protected readonly Mock MockSecurityContext = new Mock(); protected readonly Mock MockTransactionTransferValidator = new Mock(); protected readonly Mock MockFundService = new Mock(); protected readonly Mock MockVatService = new Mock(); protected TransferService GetService() { var service = new TransferService( MockLogger.Object, MockUnitOfWork.Object, MockSecurityContext.Object, MockFundService.Object, MockVatService.Object, MockTransactionTransferValidator.Object); return service; } } }