public void UserServiceContructor_ShouldReturnTheObject()
        {
            // Arrange:
            _loggerMock = new Mock <ILogger <PayOutsApi> >();
            var authServiceMock = new Mock <IAuthApi>();
            var config          = GetConfiguration();

            // Act:
            _objectToTest = new PayOutsApi(config, _loggerMock.Object, authServiceMock.Object);
            // Assert:
            Assert.NotNull(_objectToTest);
        }
        public PayOutsApiTests()
        {
            // Arrange:
            var services      = new ServiceCollection();
            var configuration = TestHelper.GetIConfigurationRoot();

            // Act:
            services.AddMangoPayServices(configuration);
            var provider = services.BuildServiceProvider();

            _objectToTest = provider.GetRequiredService <IPayOutsApi>() as PayOutsApi;
        }