Пример #1
0
        public void if_set_all_configuration_by_appseting_when_call_create_transaction_return_new_transaction_object()
        {
            AddConfigInAppConfig("PuntoPago-Secret", "Secret");
            AddConfigInAppConfig("PuntoPago-Key", "Key");
            AddConfigInAppConfig("PuntoPago-Environment", "Sandbox");
            var puntoPagos = new PuntoPago().CreateTransaction();

            Assert.NotNull(puntoPagos);
        }
Пример #2
0
        public void if_set_all_configuration_by_appseting_when_call_create_transaction_return_new_transaction_object()
        {
            AddConfigInAppConfig("PuntoPago-Secret", "Secret");
            AddConfigInAppConfig("PuntoPago-Key", "Key");
            AddConfigInAppConfig("PuntoPago-Environment", "Sandbox");
            var puntoPagos = new PuntoPago().CreateTransaction();

            Assert.NotNull(puntoPagos);
        }
Пример #3
0
        public void if_set_all_configuration_by_code_when_call_create_transaction_return_new_transaction_object()
        {
            var puntoPagos = new PuntoPago().SetKey("TheKey").SetSecretCode("SecretCode").SetEnvironment(EnvironmentForPuntoPago.Sandbox).CreateTransaction();

            Assert.NotNull(puntoPagos);
        }
Пример #4
0
        public void if_set_all_configuration_by_code_when_call_create_transaction_return_new_transaction_object()
        {
            var puntoPagos = new PuntoPago().SetKey("TheKey").SetSecretCode("SecretCode").SetEnvironment(EnvironmentForPuntoPago.Sandbox).CreateTransaction();

            Assert.NotNull(puntoPagos);
        }