@Test
public void testRandomOrderChangePodsAllNamespaces() throws Exception {

	when(this.endpointsOperation.list())
			.thenReturn(createSingleEndpointEndpointListByPodName("api-pod", "other-pod"))
			.thenReturn(createSingleEndpointEndpointListByPodName("other-pod", "api-pod"));
	when(this.kubernetesClient.endpoints()).thenReturn(this.endpointsOperation);
	when(this.kubernetesClient.endpoints().inAnyNamespace()).thenReturn(this.endpointsOperation);
	when(this.kubernetesClient.endpoints().inAnyNamespace().withLabels(anyMap()))
			.thenReturn(this.endpointsOperation);
	this.underTest.catalogServicesWatch();
	// second execution on shuffleServices
	this.underTest.catalogServicesWatch();
	verify(this.applicationEventPublisher).publishEvent(any(HeartbeatEvent.class));
}