@Test public void parseServerIpAndPort_emptyServiceNameFromUrl() throws SQLException {

  when(connection.getMetaData()).thenReturn(metaData);
  when(metaData.getURL()).thenReturn(urlWithEmptyServiceName);
  when(connection.getCatalog()).thenReturn("mydatabase");
  new TracingJdbcEventListener("", false, logOptions).parseServerIpAndPort(connection, span);
  verify(span).remoteServiceName("mydatabase");
  verify(span).remoteIpAndPort("1.2.3.4", 5555);
}