public void DepartmentDropDownList_Default_AllDepartments() { //Arrange //Act SelectList result = controller.DepartmentDropDownList(); //Assert Assert.AreEqual(7, result.Count()); Assert.AreEqual("RAAA1", result.First().Text); Assert.AreEqual("TAAAA", result.Last().Text); }