public void InvalidCurrencyCodeResultsInEmptyMerchantAccountID() {

            var merchantAccounts = new MerchantAccounts();
            merchantAccounts.Load("GBP", "CNWKRL2JZLMPL");

            var merchantAccountID = merchantAccounts.GetByCurrencyCode("INVALID");
            Assert.AreEqual(string.Empty, merchantAccountID);
        }
        public void MerchantAccountIDIsAccessibleByCurrencyCode() {

            var merchantAccounts = new MerchantAccounts();
            merchantAccounts.Load("GBP", "CNWKRL2JZLMPL");

            var merchantAccountID = merchantAccounts.GetByCurrencyCode("GBP");
            Assert.AreEqual("CNWKRL2JZLMPL", merchantAccountID);
        }
Exemple #3
0
        public void InvalidCurrencyCodeResultsInEmptyMerchantAccountID()
        {
            var merchantAccounts = new MerchantAccounts();

            merchantAccounts.Load("GBP", "CNWKRL2JZLMPL");

            var merchantAccountID = merchantAccounts.GetByCurrencyCode("INVALID");

            Assert.AreEqual(string.Empty, merchantAccountID);
        }
Exemple #4
0
        public void MerchantAccountIDIsAccessibleByCurrencyCode()
        {
            var merchantAccounts = new MerchantAccounts();

            merchantAccounts.Load("GBP", "CNWKRL2JZLMPL");

            var merchantAccountID = merchantAccounts.GetByCurrencyCode("GBP");

            Assert.AreEqual("CNWKRL2JZLMPL", merchantAccountID);
        }