@Test
  public void testQueryClusterLevel() {
    Guid vdsId = Guid.newGuid();
    VDS vds = new VDS();
    vds.setId(vdsId);
    vds.setVdsType(VDSType.oVirtNode);
    vds.setHostOs(UNAVAILABLE_OVIRT_ISO_VERSION);
    vds.setVdsGroupCompatibilityVersion(EXISTING_CLUSTER_VERSION);
    when(vdsDAO.get(any(Guid.class))).thenReturn(vds);

    when(getQueryParameters().getVdsId()).thenReturn(vdsId);

    getQuery().setInternalExecution(true);
    getQuery().executeCommand();

    checkSucceeded(getQuery(), true);
    checkReturnValueEmpty(getQuery());
  }
 protected void expectGetVds(DbFacade db, Guid id) {
   VdsDAO dao = mock(VdsDAO.class);
   when(db.getVdsDAO()).thenReturn(dao);
   when(dao.get(id)).thenReturn(getVds(id));
 }