public PolarisConfigEndpoint(PolarisConfigProperties polarisConfigProperties) {
		this.polarisConfigProperties = polarisConfigProperties;
	}
@Test
	public void testPolarisConfigEndpoint() {
		Map<String, Object> content = new HashMap<>();
		content.put("k1", "v1");
		content.put("k2", "v2");
		content.put("k3", "v3");
		MockedConfigKVFile file = new MockedConfigKVFile(content);
		PolarisPropertySource polarisPropertySource = new PolarisPropertySource(testNamespace, testServiceName, testFileName,
				file, content);
		PolarisPropertySourceManager.addPropertySource(polarisPropertySource);

		PolarisConfigEndpoint endpoint = new PolarisConfigEndpoint(polarisConfigProperties);
		Map<String, Object> info = endpoint.polarisConfig();
		assertThat(polarisConfigProperties).isEqualTo(info.get("PolarisConfigProperties"));
		assertThat(Lists.newArrayList(polarisPropertySource)).isEqualTo(info.get("PolarisPropertySource"));
	}