@Test
	void testDefaultAppName() {
		setupContext();
		assertThat(getInstanceConfig().getAppname()).as("default app name is wrong").isEqualTo("unknown");
		assertThat(getInstanceConfig().getVirtualHostName()).as("default virtual hostname is wrong")
			.isEqualTo("unknown");
		assertThat(getInstanceConfig().getSecureVirtualHostName()).as("default secure virtual hostname is wrong")
			.isEqualTo("unknown");
	}
@author Dave Syer
@author Spencer Gibb
@author Ryan Baxter
@author Tim Ysewyn
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/EurekaInstanceConfigBeanTests.java