public void IsValid_WithValidInput_Passes(string validEmployeeIdString, int year, int month, int day) { EmployeeID employeeId = EmployeeID.Parse(validEmployeeIdString); DateTime dateTime = new DateTime(year, month, day); Expect(EmployeeID.IsValid(employeeId, dateTime), Is.True); }
public void IsValid_WithInValidInput_Fails(string validEmployeeIdString, int year, int month, int day) { //TODO: needs more work EmployeeID employeeId = EmployeeID.Parse(validEmployeeIdString); DateTime dateTime = new DateTime(year, month, day); Expect(EmployeeID.IsValid(employeeId, dateTime), Is.False); }