Question: Need to fix these methods @test public void testContainsAll() { list. add(33) list. add (77); list. add (44); list. add (77); list.add (55); list. add

Need to fix these methods
Need to fix these methods @test public void testContainsAll() \{ list. add(33)
list. add (77); list. add (44); list. add (77); list.add (55); list.

@test public void testContainsAll() \{ list. add(33) list. add (77); list. add (44); list. add (77); list.add (55); list. add (77); list. add (66); 1/ TODO using containsAll and List. of : 1/ 1) assert that list contains all five different numbers added I/ 2) assert that list does not contain all of 11,22 , and 33 assertEquals(true, (List.of (33,77,44,55,66), list)); assertEquals(false, list. containsALL(List. of (11,22,33)); fail("Not yet implemented"); // remove this line when done

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!