@Test
    @Execution(ExecutionMode.SAME_THREAD)
    void testAllSharedAreResources() {
        final List<Class<?>> sharedClasses = getSharedClasses();

        sharedClasses.removeAll(RESOURCE_RELATED_CLASSES);

        LOGGER.info("Shared classes that are not resource related:\n{}",
                sharedClasses.stream()
                        .map(Class::getName)
                        .collect(Collectors.joining("\n")));
    }
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