public void stopNodes() {
        nodeToJerseyTestMap.values().forEach(jerseyTest -> {
            try {
                jerseyTest.tearDown();
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        });
    }
This will be called during initNodes() and provides a means for the sub-class
to provide a fully mocked out implementation of the rest resource. The arguments
are provided so you can have mocks tailored to the node.
stroom-test-common/src/main/java/stroom/test/common/util/test/AbstractMultiNodeResourceTest.java