public static void deleteHosts(AmbariManagementController controller, Set<HostRequest> requests)
      throws AmbariException, NoSuchFieldException, IllegalAccessException {
    TopologyManager topologyManager = EasyMock.createNiceMock(TopologyManager.class);
    expect(topologyManager.getRequests(Collections.emptyList())).andReturn(Collections.emptyList()).anyTimes();

    replay(topologyManager);

    HostResourceProvider provider = getHostProvider(controller);
    HostResourceProvider.setTopologyManager(topologyManager);
    provider.deleteHosts(requests, false);
  }
Ensure that HostNotFoundException is handled where there are multiple requests as would be the
case when an OR predicate is provided in the query.
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostResourceProviderTest.java