Question: Unlock Test Case / / * answer is not false, or true, or any of the exceptions listed. / / public void test 6 6
Unlock Test Case
answer is not false, or true, or any of the exceptions listed.
public void test
BallCollection bc new Ballcollection;
Give the string of the result or name of exception
it was never assigned and so it is null;
assertEqualsOrExceptionNullPointerException ithasNext;
it bciterator;
assertEqualsOrExceptionfalse ithasNext;
assertEqualsOrExceptionNoSuchElementException itnext;
bcadde; added a ball
assertEqualsOrException ithasNext;
String
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
