@Test public void shouldReturnHighGivenArray() { String errorMsg = "midpoint not as expected"; int[] valueArray = {1, 2, 3, 4, 5}; int high = positionFinder.getHigh(valueArray); assertEquals(errorMsg, 4, high); }