using BusinessLogic.Interfaces.Persistence; using BusinessLogic.Interfaces.Security; using BusinessLogic.Interfaces.Services; using BusinessLogic.Interfaces.Services.Cryptography; using log4net; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics.CodeAnalysis; using Service = BusinessLogic.Services.RefundService; namespace BusinessLogic.UnitTests.Services.Refund { [TestClass] [ExcludeFromCodeCoverage] public class BaseRefundTest { 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 MockPaymentIntegrationClient = new Mock(); protected readonly Mock MockCryptographyService = new Mock(); protected readonly Mock MockFundService = new Mock(); protected Service GetService() { var service = new Service( MockLogger.Object, MockUnitOfWork.Object, MockSecurityContext.Object, MockTransactionService.Object, MockPaymentIntegrationClient.Object); return service; } } }