using BusinessLogic.Interfaces.Persistence; using BusinessLogic.Interfaces.Security; using BusinessLogic.Interfaces.Services; using BusinessLogic.Interfaces.Services.Cryptography; using BusinessLogic.Interfaces.Validators; using log4net; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics.CodeAnalysis; using Service = BusinessLogic.Services.PaymentService; namespace BusinessLogic.UnitTests.Services.Payment { [TestClass] [ExcludeFromCodeCoverage] public class BasePaymentTest { protected readonly Mock MockLogger = new Mock(); protected readonly Mock MockUnitOfWork = new Mock(); protected readonly Mock MockSecurityContext = new Mock(); protected readonly Mock MockTransactionService = new Mock(); protected readonly Mock MockCryptographyService = new Mock(); protected readonly Mock MockFundService = new Mock(); protected readonly Mock MockTransactionFeeValidator = new Mock(); protected Service GetService() { var service = new Service( MockLogger.Object, MockUnitOfWork.Object, MockSecurityContext.Object, MockTransactionService.Object, MockCryptographyService.Object, MockFundService.Object, MockTransactionFeeValidator.Object); return service; } } }