Esempio n. 1
0
        public void AddCountry_USA_falsereturned()
        {
            var     client        = new Service1();
            int     CountryBefore = client.SelectCountry().Count;
            Country co            = new Country
            {
                Name = "USAa"
            };
            Country co1 = new Country();

            co1 = client.AddCountry(co);
            int CountryAfter = client.SelectCountry().Count;

            Assert.AreEqual(CountryBefore + 1, CountryAfter);
        }