public void GivenEmployeeNames_WhenInGivenRange_ThenShouldReturnCountByEmployeeName() { int expected = 2; EmployeePayrollRepo employeePayrollRepo = new EmployeePayrollRepo(); int count = employeePayrollRepo.getEmployeeDataWithGivenRange(); Assert.AreEqual(expected, count); }
public void GivenQuery_WhenInsert_ThenshouldPerformgetEmployeeDataWithGivenRange() { int expected = 12; EmployeePayrollRepo employeePayrollRepo = new EmployeePayrollRepo(); int count = employeePayrollRepo.getEmployeeDataWithGivenRange(); Assert.AreEqual(expected, count); }