@Test
    void test(@TempDir Path tempDir) {

        final Config config = new Config();
        final JerseyClientConfiguration jerseyClientConfiguration = new JerseyClientConfiguration();
        assertThat(jerseyClientConfiguration.getTlsConfiguration())
                .isNull();
        config.setJerseyClients(Map.of(
                JerseyClientName.DEFAULT.name(), jerseyClientConfiguration));

        ProxyJerseyClientFactoryImpl proxyJerseyClientFactory = new ProxyJerseyClientFactoryImpl(
                config,
                () -> new BuildInfo(0L, "1.2.3", 0L),
                new Environment("test"),
                new SimplePathCreator(() -> tempDir, () -> tempDir));

        final Client defaultClient = proxyJerseyClientFactory.getDefaultClient();

        assertThat(defaultClient)
                .isNotNull();

        for (final JerseyClientName jerseyClientName : JerseyClientName.values()) {
            final Client namedClient = proxyJerseyClientFactory.getNamedClient(jerseyClientName);

            assertThat(namedClient)
                    .isNotNull();
        }
    }
Mostly to make sure the factory ctor works ok
stroom-proxy/stroom-proxy-app/src/test/java/stroom/proxy/app/jersey/TestProxyJerseyClientFactoryImpl.java