@Test
public void cloudMemoryUsagePercentageTest() {

    CloudResources cloud = new CloudResources(null, 5000l * BYTES_TO_MEGA_BYTES, 10000l * BYTES_TO_MEGA_BYTES, 5000, 2000l, 5);
    Assert.assertEquals(0.5, spyAlgorithm.cloudMemoryUsagePercentage(cloud), 0.0);
}