@Test
    void requireThatBasedirIsCorrectForElasticMode() {
        MockRoot root = new MockRoot("");
        SearchNode node = createSearchNode(root, "mynode", 3, new NodeSpec(7, 5), false,
                                           root.getDeployState().isHosted(), true);
        prepare(root, node);
        assertBaseDir(Defaults.getDefaults().underVespaHome("var/db/vespa/search/cluster.mycluster/n3"), node);
    }
Unit tests for search node.

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