You need to ensure that the unit test will pass

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?

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



Leave a Reply 4

Your email address will not be published. Required fields are marked *


SeikohH

SeikohH

B seems to be the right answer. I got an error when adding the code in D using VS.

al adeeb

al adeeb

B is the right answer.