@Test public void shouldMergeArraysWithCollisions() {

  int a1[] = { 1, 2, 3, 4, 9, 10, 11 };
  int a2[] = { 5, 6, 7 };
  int[] result = mergeSortedArrays.merge(a1, a2);
  int[] expectedArray = { 1, 2, 3, 4, 5, 6, 7, 9, 10, 11 };
  assertArrayEquals(expectedArray, result);
}