@Test(expected = CloudRuntimeException.class)
public void waitChangePoolMasterHostTestExpectCloudRuntimeException() throws Exception {

    setupWaitChangePoolMasterHost("uuid");
    xenHypervisor.waitChangePoolMasterHost(host, conn, "uuid");
    Mockito.verify(threadUtils, Mockito.times(90)).sleepThread(Mockito.anyInt());
}