@Override
	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}
		PolarisServiceInstance that = (PolarisServiceInstance) o;
		return Objects.equals(instance, that.instance) && Objects.equals(scheme, that.scheme);
	}
@Test
	@DisplayName("test equals().")
	public void test2() {
		DefaultInstance instance1 = new DefaultInstance();
		instance1.setId("test-1");
		instance1.setProtocol("http");
		PolarisServiceInstance polarisServiceInstance1 = new PolarisServiceInstance(instance1);

		DefaultInstance instance2 = new DefaultInstance();
		instance2.setId("test-1");
		instance2.setProtocol("http");
		PolarisServiceInstance polarisServiceInstance2 = new PolarisServiceInstance(instance2);

		assertThat(polarisServiceInstance1.equals(polarisServiceInstance2)).isTrue();
	}