@SuppressWarnings("unused")
        public Stream<DynamicTest> build() {
            if (NullSafe.isEmptyCollection(testCases)) {
                Assertions.fail("No test cases provided");
            }
            final Set<I> inputs = new HashSet<>();
            for (int i = 0; i < testCases.size(); i++) {
                final TestCase<I, O> testCase = testCases.get(i);
                final I input = testCase.getInput();
                if (inputs.contains(input)) {
                    LOGGER.warn("Test case {} has the same input has another case: {}",
                            (i + 1), valueToStr(input));
                }
                inputs.add(input);
            }
            return createDynamicTestStream();
        }
Build the {@link Stream} of {@link DynamicTest} with all the added test cases.
stroom-test-common/src/main/java/stroom/test/common/DynamicTestBuilder.java