@Test
public void testRegisterInstances() throws Throwable {

    loadBalancerStepDefinitions.givenLoadBalancerName("ELB", "elb");
    executionStateCache.addDeregisteredInstance(createInstances());
    loadBalancerStepDefinitions.registerInstances();
    Assert.assertEquals(0, executionStateCache.getDeregistedInstance().size());
}