@Override
    public Set<Resource> getResources(Request request, Predicate predicate)
        throws SystemException, UnsupportedPropertyException, NoSuchResourceException, NoSuchParentResourceException {
      Set<String> keyPropertyValues = new LinkedHashSet<>();

      keyPropertyValues.add("1.2.1");
      keyPropertyValues.add("1.2.2");
      keyPropertyValues.add("2.0.1");

      return getResources(Resource.Type.StackVersion, predicate, "Versions/stack_version", keyPropertyValues);
    }
Tests that when a {@link PageResponse} is present on the
{@link Request}, in-memory paging is not performed.

@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterControllerImplTest.java