Пример #1
0
        public void GetCATaxScheduleByCityShouldReturnInvalidKey()
        {
            var repo = new CustAddressRepository();
            var key  = repo.GetCATaxScheduleIdByCity("Norwalk");

            Assert.AreEqual(key.Item1, 0);
            Assert.AreEqual(key.Item2, "");
            Assert.AreEqual(key.Item3, "");
        }
Пример #2
0
        public void GetCATaxScheduleByCityShouldReturnValidKey()
        {
            var repo = new CustAddressRepository();
            var key  = repo.GetCATaxScheduleIdByCity("South Gate");

            Assert.AreEqual(key.Item1, 711);
            Assert.AreEqual(key.Item2, "South Gate");
            Assert.AreEqual(key.Item3, "0.102500");
        }