public void GetRemainingVendors_ReturnsUnusedVendors() { var unitOfWork = GetUnitOfWork(); var controller = new DistrictController(unitOfWork); var result = controller.GetRemainingVendors(3); Assert.IsNotNull(result); var resultList = result.ToList(); Assert.AreEqual(1, resultList.Count); Assert.AreEqual(2, resultList.First().VendorId); }