private void assertEurekaInstance(Map<Tags, Long> meterRegistryCounts) {
		await().pollDelay(5, MILLISECONDS)
			.atMost(5, SECONDS)
			.pollInterval(fibonacci())
			.untilAsserted(() -> meterRegistryCounts.forEach((tags,
					count) -> assertThat((long) meterRegistry.get("eureka.server.instances").tags(tags).gauge().value())
						.isEqualTo(count)));
	}
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