### Question:
DefaultApplicationFactory implements ApplicationFactory { protected String getServicePath() { String path = instance.getServicePath(); if (!StringUtils.isEmpty(path)) { return path; } return "/"; } DefaultApplicationFactory(InstanceProperties instance, ManagementServerProperties management,
			ServerProperties server, PathMappedEndpoints pathMappedEndpoints, WebEndpointProperties webEndpoint,
			MetadataContributor metadataContributor); @Override Application createApplication(); @EventListener void onWebServerInitialized(WebServerInitializedEvent event);  }### Answer:
@Test public void test_service_path_default() { assertThat(factory.getServicePath()).isEqualTo("/"); }