@Test
public void testSpikeCPUOnHealthyInstances() throws Exception
{

    executionStateCache.setInstances(createInstances());
    ssmStepDefinitions.spikeCPUOnHealthyInstances(1,8);
    Assert.assertEquals(executionStateCache.getCommandId(), "1234");
    Assert.assertTrue(executionStateCache.getInstances().size()>0);
    Assert.assertTrue(executionStateCache.isCpuSpiked());
    Assert.assertTrue(executionStateCache.getSsmCommandInvocationInstances().size() > 0);
}