@Test
public void testGivenAzWithIgnoreTags() {

    executionStateCache.clearInstances();
    PowerMockito.when(ec2Raider.getInstancesFromAnyTags(Mockito.anyList())).thenReturn(createInstances());
    PowerMockito.when(ec2Raider.getEc2InstancesForAvailabilityZone(Mockito.anyString(), Mockito.anyList())).thenReturn(createInstances());
    Assert.assertEquals(0, executionStateCache.getInstances().size());
    availabilityZoneStepDefinitions.givenAzWithIgnoreTags("us-west-2a, us-west-2b", "testkey:testvalue");
    Assert.assertTrue(executionStateCache.getInstances().size() > 0);
}