@Test
    void requireThatPreShutdownCommandIsEmptyWhenNotActivated() {
        MockRoot root = new MockRoot("");
        SearchNode node = createSearchNode(root, "mynode", 3, new NodeSpec(7, 5), false,
                                           root.getDeployState().isHosted(), true);
        node.setHostResource(new HostResource(new Host(node, "mynbode")));
        node.initService(root.getDeployState());
        assertFalse(node.getPreShutdownCommand().isPresent());
    }
Unit tests for search node.

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