public void TestUpdateLanguage() { //Arrange ILanguageDAO dao = new LanguageSqlDAO(ConnectionString); ICollection <Language> allUSLanguages = dao.GetLanguages("USA"); Language lang = allUSLanguages.ToArray()[0]; lang.Percentage = 50; //Act bool result = dao.UpdateLanguage(lang); //Assert Assert.IsTrue(result); Assert.AreEqual(50, lang.Percentage);//this is NOT checkign the DAO ICollection <Language> updatedLanguages = dao.GetLanguages("USA"); CollectionAssert.Contains((ICollection)updatedLanguages, lang); }