String replaceServerNodeUri(String existingTableName)
  {
    if (_serverNodeUri == null)
    {
      return existingTableName;
    }

    int index = existingTableName.indexOf(SERVER_NODE_URI_PREFIX_TABLENAME_SEPARATOR);

    if (index == -1 || index == 0 || index == existingTableName.length() - 1)
    {
      throw new RuntimeException("Unexpected name format for name: " + existingTableName);
    }

    return _serverNodeUri + SERVER_NODE_URI_PREFIX_TABLENAME_SEPARATOR + existingTableName.substring(index + 1);
  }
@Test
  public void testReplaceServerNodeUri()
  {
    String name = "https://SomeOldHostName:100/SomeOtherService|SomeOtherPrefix-1000";
    String replacedName = SYMBOL_TABLE_NAME_HANDLER.replaceServerNodeUri(name);
    Assert.assertEquals(replacedName, "https://Host:100/service|SomeOtherPrefix-1000");
  }