private void prepare(MockRoot root, SearchNode node) {
        Host host = new Host(root, "mockhost");
        node.setHostResource(new HostResource(host));
        node.setBasePort(200);
        node.initService(root.getDeployState());
        root.freezeModelTopology();
    }
Unit tests for search node.

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