@Test
	public void testSentinelSystemProperties() {
		assertThat(LogBase.isLogNameUsePid()).isEqualTo(true);
		assertThat(TransportConfig.getConsoleServerList().toString())
				.isEqualTo(Arrays
						.asList(new Endpoint(Protocol.HTTP, "localhost", 8080),
								new Endpoint(Protocol.HTTP, "localhost", 8081))
						.toString());
		assertThat(TransportConfig.getPort()).isEqualTo("9999");
		assertThat(TransportConfig.getHeartbeatIntervalMs().longValue())
				.isEqualTo(20000L);
		assertThat(TransportConfig.getHeartbeatClientIp()).isEqualTo("1.1.1.1");
		assertThat(SentinelConfig.singleMetricFileSize()).isEqualTo(9999);
		assertThat(SentinelConfig.totalMetricFileCount()).isEqualTo(100);
		assertThat(SentinelConfig.charset()).isEqualTo("UTF-8");
		assertThat(SentinelConfig.getConfig(BLOCK_PAGE_URL_CONF_KEY)).isEqualTo("/error");
	}
@author <a href="mailto:fangjian0423@gmail.com">Jim</a>
@author jiashuai.xie
spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-sentinel/src/test/java/com/alibaba/cloud/sentinel/SentinelAutoConfigurationTests.java