Removed a deprecated method.

This commit is contained in:
Harald Kuhr 2018-08-26 10:35:53 +02:00
parent 96901e020f
commit c74630656f

View File

@ -1122,7 +1122,7 @@ public abstract class CollectionAbstractTest extends ObjectAbstractTest {
resetEmpty(); resetEmpty();
Object[] a = new Object[] { new Object(), null, null }; Object[] a = new Object[] { new Object(), null, null };
Object[] array = collection.toArray(a); Object[] array = collection.toArray(a);
assertEquals("Given array shouldn't shrink", array, a); assertArrayEquals("Given array shouldn't shrink", array, a);
assertEquals("Last element should be set to null", a[0], null); assertEquals("Last element should be set to null", a[0], null);
verifyAll(); verifyAll();