public void GivenEmployeeName_WhenUpdateSalary_ThenShouldReturnExpectedSalary() { int expected = 3000000; EmployeePayrollRepo employeePayrollRepo = new EmployeePayrollRepo(); int count = employeePayrollRepo.updateEmployee(); Assert.AreEqual(expected, count); }
public void GivenQuery_WhenInsert_ThenshouldPerformUpdateOperation() { int expected = 3000000; EmployeePayrollRepo employeePayrollRepo = new EmployeePayrollRepo(); int count = employeePayrollRepo.updateEmployee(); Assert.AreEqual(expected, count); }