@Test
public void changeMasterIfNeededTest() throws Exception {

    setupChangeMasterIfNeeded(false);
    xenHypervisor.changeMasterIfNeeded(conn, host, "hostUuid");
    verifyChangeMasterIfNeededCalledMethods(1);
}