public static Field randomNumberField(final String name,
                                          final int startInc,
                                          final int endExc) {

        try {
            Utils.checkArgument(endExc > startInc, "endExc must be > startInc");

            return new Field(
                    name,
                    (random, ignoredFaker) ->
                            Integer.toString(
                                    buildRandomNumberSupplier(startInc, endExc).applyAsInt(random)));
        } catch (Exception e) {
            throw new RuntimeException(Utils.message(
                    "Error building sequentialValueField, {}, {}", name, e.getMessage()), e);
        }
    }
A field that produces integers between startInc (inclusive) and endExc (exclusive)

@param name     Field name for use in the header
@param startInc The lowest value to use in the string format (inclusive)
@param endExc   The highest value to use in the string format (exclusive)
                replace the %s in the format string
@return A complete {@link Field}
stroom-test-common/src/main/java/stroom/test/common/data/DataGenerator.java