@Test(expected = CloudRuntimeException.class)
public void putHostInMaintenanceTestHostInMaintenanceError() throws AgentUnavailableException {

    setupPutHostInMaintenance(true);
    administrationAgent.putHostInMaintenance(0l);
    verifyPutHostInMaintenanceCalledMethods(1, 0);
}