/** * Verifies that the iterator visits the specified objects in some arbitrary * ordering and that the iterator is exhausted once all expected objects * have been visited. The implementation uses a selection without * replacement "pattern". */ @SuppressWarnings("unchecked") static public void assertSameIteratorAnyOrder(final Object[] expected, final Iterator actual) { assertSameIteratorAnyOrder("", expected, actual); }
/** * Verifies that the iterator visits the specified objects in some arbitrary * ordering and that the iterator is exhausted once all expected objects * have been visited. The implementation uses a selection without * replacement "pattern". */ @SuppressWarnings("unchecked") static public void assertSameIteratorAnyOrder(final Object[] expected, final Iterator actual) { assertSameIteratorAnyOrder("", expected, actual); }