@Test
public void getCloudExpetedCpuUsageAfterHostShutdownTest() {

    HostResources host = createHost(2, 1000l, 0l, 2000l, 0l);
    CloudResources cloud = new CloudResources(null, 0, 0, 3000l, 2000, 4);
    Assert.assertEquals(0.5, spyAlgorithm.getCloudExpetedCpuUsageAfterHostShutdown(host, cloud), 0.0);
    Mockito.verify(spyAlgorithm).getCloudCpuCapacity(cloud);
}