Search in sources :

Example 1 with NodeLauncher

use of com.alibaba.maxgraph.servers.NodeLauncher in project GraphScope by alibaba.

the class NodeLauncherTest method testNodeLauncher.

@Test
void testNodeLauncher() {
    NodeBase nodeBase = mock(NodeBase.class);
    NodeLauncher nodeLauncher = new NodeLauncher(nodeBase);
    nodeLauncher.start();
    verify(nodeBase).start();
}
Also used : NodeBase(com.alibaba.maxgraph.servers.NodeBase) NodeLauncher(com.alibaba.maxgraph.servers.NodeLauncher) Test(org.junit.jupiter.api.Test)

Aggregations

NodeBase (com.alibaba.maxgraph.servers.NodeBase)1 NodeLauncher (com.alibaba.maxgraph.servers.NodeLauncher)1 Test (org.junit.jupiter.api.Test)1