@Test
  public void toIntegerArray_returnsOrderedArray() {
    int[] sequence = new int[] {0, 1, 2, 4, 8};

    assertThat(toIntegerArray(sequence)).isNotNull().hasSize(sequence.length).containsExactly(0, 1,
        2, 4, 8);
  }
Unit tests for {@link ArrayUtils}.

@since GemFire 7.x
geode-core/src/test/java/org/apache/geode/internal/util/ArrayUtilsTest.java