You are developing a class named EmployeeRoster. The following code implements the
EmployeeRoster class. (Line numbers are included for reference only.)
You create the following unit test method to test the EmployeeRoster class implementation:
You need to ensure that the unit test will pass.
What should you do?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
D
B seems to be the right answer. I got an error when adding the code in D using VS.
B is the right answer.
B