@Test
public void testAllEC2() throws Exception
{

    PowerMockito.when(ec2Raider.getFilteredActiveInstances(Mockito.anyListOf(String.class))).thenReturn(createInstances());
    instanceFailureStepDefinitions.givenFilteredEC2("");
    Assert.assertEquals(2, executionStateCache.getInstances().size());
    List<String> ids = executionStateCache.getInstances().stream().map(EC2InstanceTO::getInstanceId).collect(Collectors.toList());
    Assert.assertTrue(ids.contains("i-1234"));
    Assert.assertTrue(ids.contains("i-4567"));
}