### Question:
LearnSort { public static int[] bubbleSort(@NotNull int[] array) { int len = array.length; for (int i = 0; i < len - 1; i++) { for (int j = i + 1; j < len; j++) { if (array[i] > array[j]) { swap(i, j, array); } } } return array; }  static int[] insertSort(int[] array); static int[] shellSort(int[] array); static int[] selectionSort(int[] array); static int[] heapSort(int[] array); static int[] bubbleSort(@NotNull int[] array); static int[] quickSort(@NotNull int[] array); static int[] mergingSort(int[] array); static int[] radixSort(@NotNull int[] arr); final static int[] originalArray; }### Answer:
@Test public void testBubbleSort() throws Exception { Assert.assertThat(resultArray, Matchers.equalTo(LearnSort.bubbleSort(originalArray))); }