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

@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
Get step-by-step solutions from verified subject matter experts
