public void GetAirlinesByCountry() { countryDAO.Add(new Country("Israel")); Country israel = countryDAO.GetCountryByName("Israel"); airlineDAO.Add(new AirlineCompany("ELAL", "ELAL123", "PASSWORD", israel.ID)); airlineDAO.Add(new AirlineCompany("ARKIA", "ARKIA123", "ARKIAPASSWORD", israel.ID)); List <AirlineCompany> airlinesList = (List <AirlineCompany>)airlineDAO.GetAirlinesByCountry(israel.ID); Assert.AreEqual(2, airlinesList.Count); Assert.AreEqual("ELAL", airlinesList[0].AirLineName); Assert.AreEqual("ARKIA", airlinesList[1].AirLineName); }