ConsulAdvertiser { public String getServiceId() { return serviceId; } ConsulAdvertiser(
      final Environment environment,
      final ConsulFactory configuration,
      final Consul consul,
      final String serviceId); String getServiceId(); boolean register(
      final String applicationScheme, final int applicationPort, final int adminPort); boolean register(
      final String applicationScheme,
      final int applicationPort,
      final int adminPort,
      Collection<String> ipAddresses); void deregister();  }
@Test public void testGetServiceId() { assertThat(advertiser.getServiceId()).isEqualTo(serviceId); }