Exemplo n.º 1
0
        public void CountryRestrictionExists_ReturnExpectedResult()
        {
            var method    = new ShippingMethod();
            var countryId = "countryId";

            Assert.IsFalse(method.CountryRestrictionExists(countryId));
            method.RestrictedCountries.Add(new Domain.Directory.Country()
            {
                Id = countryId
            });
            Assert.IsTrue(method.CountryRestrictionExists(countryId));
        }