Code a second constructor that takes 5 parameters and assigns values to name, employerName, employerLocation, jobType, and jobCoreCompetency. Also, this constructor should call the first in order to initialize the id field.
Task 4:
In JobTest, define a test called TestJobConstructorSetsAllFields.
Select one of the Job objects with the full constructor to test that the object is assigned the correct properties.
Use Assert statements to test that the constructor correctly assigns the value of each field as follows:
"Product tester" for Name
"ACME" for EmployerName
"Desert" for JobLocation
"Quality control" for JobType
"Persistence" for JobCoreCompetency
Suggested change:
Task 4 text 3.3. Reads "Desert" for EmployerLocation
Relevant link
Text states: Task 3:
Task 4:
Suggested change: Task 4 text 3.3. Reads "Desert" for EmployerLocation