610 |
|
if (rnd.nextBoolean()) assertTrue(it.hasNext()); |
611 |
|
assertTrue(copy.contains(it.next())); |
612 |
|
} |
613 |
+ |
if (rnd.nextBoolean()) assertTrue(it.hasNext()); |
614 |
|
it.forEachRemaining( |
615 |
|
e -> { |
616 |
|
assertTrue(c.contains(e)); |
952 |
|
} catch (java.io.NotSerializableException acceptable) {} |
953 |
|
} |
954 |
|
|
955 |
< |
public void testReplaceAllIsNotStructuralModification() { |
955 |
> |
public void DISABLED_testReplaceAllIsNotStructuralModification() { |
956 |
|
Collection c = impl.emptyCollection(); |
957 |
|
if (!(c instanceof List)) |
958 |
|
return; |