@Test
public void testNodeIdWithDefaultPort() throws URISyntaxException {

  NodeId nid;
  
  nid = ConverterUtils.toNodeIdWithDefaultPort("node:10");
  assertThat(nid.getPort()).isEqualTo(10);
  assertThat(nid.getHost()).isEqualTo("node");
  
  nid = ConverterUtils.toNodeIdWithDefaultPort("node");
  assertThat(nid.getPort()).isEqualTo(0);
  assertThat(nid.getHost()).isEqualTo("node");
}