@Test
	void testPartialNonRenewalAfterMultipleRegistrations() {
		instanceRegistry.register(fooInstanceInfo, false);
		instanceRegistry.register(fooInstanceInfo2, false);
		instanceRegistry.register(barInstanceInfo, false);
		instanceRegistry.register(barInstanceInfo2, false);

		instanceRegistry.statusUpdate(fooInstanceInfo.getAppName(), fooInstanceInfo.getInstanceId(),
				InstanceInfo.InstanceStatus.DOWN, null, false);

		final Map<Tags, Long> meterRegistryCounts = Map.of(tags(fooInstanceInfo2), 2L);
		assertEurekaInstance(meterRegistryCounts);
	}
Tests for {@link EurekaInstanceMonitor}.

@author Wonchul Heo
@author Olga Maciaszek-Sharma
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/EurekaInstanceMonitorTests.java