@Test(expected = CloudRuntimeException.class)
public void checkIfHostIsUpAndEnabledTestExpectCloudRuntimeException() {

    Mockito.doReturn(false).when(hostService).isHostUpAndEnabled(Mockito.anyLong());
    administrationAgent.checkIfHostIsUpAndEnabled(Mockito.anyLong());
    Mockito.verify(hostService).isHostUpAndEnabled(Mockito.anyLong());
}