@Test
public void testStartedWithServices()
        throws Exception
{

    discoveryClient.addDiscoveredService(APPLE_1_SERVICE);
    discoveryClient.addDiscoveredService(APPLE_2_SERVICE);
    discoveryClient.addDiscoveredService(DIFFERENT_TYPE);
    discoveryClient.addDiscoveredService(DIFFERENT_POOL);
    updater.start();
    Thread.sleep(100);
    assertEqualsIgnoreOrder(serviceSelector.selectAllServices(), ImmutableList.of(APPLE_1_SERVICE, APPLE_2_SERVICE));
}