private static SearchNode createSearchNode(MockRoot root, String name, int distributionKey, NodeSpec nodeSpec,
                                               boolean flushOnShutDown, boolean isHosted,
                                               Boolean syncTransactionLog) {
        return SearchNode.create(root, name, distributionKey, nodeSpec, "mycluster", null, flushOnShutDown,
                null, isHosted, 0.0, syncTransactionLog);
    }
Unit tests for search node.

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