public void TestMethodsOnGetCountriesbyId() { countriesController sc = new countriesController(); country countryById = (country)sc.Getcountry(12); Assert.AreEqual(countryById.countryName, "Aruba"); }
public void TestMethodsOnGetCountries() { countriesController sc = new countriesController(); IQueryable <country> countries = sc.Getcountries(); Assert.AreEqual(countries.Any(), true); }