private static void instanceTrackingConfig(XmlGenerator gen, InstanceTrackingConfig trackingConfig) {
        gen.open("instance-tracking", "enabled", trackingConfig.isEnabled())
           .node("file-name", trackingConfig.getFileName())
           .node("format-pattern", trackingConfig.getFormatPattern())
           .close();
    }
@Test
    public void testInstanceTrackingConfig() {
        clientConfig.getInstanceTrackingConfig()
                    .setEnabled(true)
                    .setFileName("/dummy/file")
                    .setFormatPattern("dummy-pattern with $HZ_INSTANCE_TRACKING{placeholder} and $RND{placeholder}");

        InstanceTrackingConfig originalConfig = clientConfig.getInstanceTrackingConfig();
        InstanceTrackingConfig generatedConfig = newConfigViaGenerator().getInstanceTrackingConfig();
        assertEquals(originalConfig.isEnabled(), generatedConfig.isEnabled());
        assertEquals(originalConfig.getFileName(), generatedConfig.getFileName());
        assertEquals(originalConfig.getFormatPattern(), generatedConfig.getFormatPattern());
    }