You have the following code. (Line numbers are included for reference only.)
Which exception must be thrown in order for the test case to pass?
A.
System.Exception
B.
ExpectedException
C.
ArgumentException
D.
InvalidArgumentException
You have the following code. (Line numbers are included for reference only.)
Which exception must be thrown in order for the test case to pass?
A.
System.Exception
B.
ExpectedException
C.
ArgumentException
D.
InvalidArgumentException