private HostResourceProvider getHostProvider(Injector injector) throws NoSuchFieldException, IllegalAccessException {
    HostResourceProvider provider = getHostProvider(injector.getInstance(AmbariManagementController.class));
    injector.injectMembers(provider);
    return provider;
  }
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