public void RetriveData_whenQueryGiven() { EmployeeRepo retrive = new EmployeeRepo(); int retrives = retrive.GetAllEmployee(); int result = 13; Assert.AreEqual(retrives, result); }
public void EmployeeDatabase_WhenViewed_ShouldReturnListOfEmployees() { List <EmployeeModel> employees = repo.GetAllEmployee(); Assert.AreEqual(employees.Count(), 7); }
public void TestMethod1() { EmployeeRepo employeeRepo = new EmployeeRepo(); employeeRepo.GetAllEmployee(); }
public IEnumerable <Employee> GetAllEmployee() { return(employeeRepo.GetAllEmployee()); }