@Test
public void shutdownHostTestExceptionThrownByShutdownHost() {

    setupShutdownHostTest(new ArrayList<VMInstanceVO>());
    Mockito.doThrow(CloudRuntimeException.class).when(hypervisorManager).shutdownHost(Mockito.any(HostVO.class));
    administrationAgent.shutdownHost(0l);
    verifyShutdownHostCalledMethods(1, 1, 1);
}