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

    Set<Pool> setOfPools = new HashSet<Pool>();
    PowerMockito.mockStatic(Pool.class);
    PowerMockito.doReturn(setOfPools).when(Pool.class, "getAll", conn);
    xenHypervisor.getMasterHost(conn);
}