public void GetHolidayData_2013Ukraine_HolidaysIn2013() { //Arrange string selectedYear = "2013"; string selectedCountryID = "1"; //Act var result = controller.GetHolidayData(selectedYear, selectedCountryID); List <Holiday> holList = (List <Holiday>)controller.GetHolidayData(selectedYear, selectedCountryID).Model; //Assert Assert.IsInstanceOf(typeof(PartialViewResult), result); Assert.AreEqual("", ((PartialViewResult)result).ViewName); Assert.IsInstanceOf(typeof(List <Holiday>), ((PartialViewResult)result).Model); Assert.AreEqual(10, holList.Count); }