@Test public void testFindMin() { int[] nums = {4, 5, 6, 7, 0, 1, 2}; int result = 0; Assert.assertEquals(result, testObjects[0].findMin(nums)); Assert.assertEquals(result, testObjects[1].findMin(nums)); }
public int findMin(int[] nums) { return 0; }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; } }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  int findMin(int[] nums); }
FindMinimuminRotatedSortedArray { public int findMin(int[] nums) { return 0; }  int findMin(int[] nums);  }