private TranslogserverConfig getTlsConfig(ModelContext.Properties properties, Boolean syncTransactionLog) {
        MockRoot root = createRoot(properties);
        SearchNode node = createSearchNode(root, syncTransactionLog);
        prepare(root, node);
        TranslogserverConfig.Builder tlsBuilder = new TranslogserverConfig.Builder();
        node.getConfig(tlsBuilder);
        return tlsBuilder.build();
    }
Unit tests for search node.

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/search/test/SearchNodeTest.java