Strings { static Gen<String> boundedNumericStrings(int startInclusive, int endInclusive) { return Generate.range(startInclusive, endInclusive) .map(i -> i.toString()); }    }
@Test public void shouldShrinkNumericStringsTowardsZero() { Gen<String> testee = Strings.boundedNumericStrings(Integer.MIN_VALUE, Integer.MAX_VALUE); assertThatGenerator(testee).shrinksTowards("0"); }