private Stream<DynamicTest> buildRelatedResourceTests(final Consumer<Class<?>> work) {

        return RESOURCE_RELATED_CLASSES.parallelStream()
                .map(clazz -> {
                    final String className = clazz.getName();

                    return DynamicTest.dynamicTest(className, () -> {
                        // Do the test
                        work.accept(clazz);
                    });
                });
    }
Test that classes that will be subject to JSON serialisation have the full complement of JSON annotations.
stroom-app/src/test/java/stroom/importexport/TestJsonSerialisation.java