@Test public void testGetResources() throws Exception { Set<Resource> resources = new HashSet<Resource>(); resources.add(new ResourceImpl(Resource.Type.Stage)); QueryResponse queryResponse = new QueryResponseImpl(resources); Assert.assertEquals(resources, queryResponse.getResources()); }
@Override public Set<Resource> getResources() { return resources; }
QueryResponseImpl implements QueryResponse { @Override public Set<Resource> getResources() { return resources; } }
QueryResponseImpl implements QueryResponse { @Override public Set<Resource> getResources() { return resources; } QueryResponseImpl(Set<Resource> resources);  QueryResponseImpl(Set<Resource> resources, boolean sortedResponse,
                           boolean pagedResponse, int totalResourceCount); }
QueryResponseImpl implements QueryResponse { @Override public Set<Resource> getResources() { return resources; } QueryResponseImpl(Set<Resource> resources);  QueryResponseImpl(Set<Resource> resources, boolean sortedResponse,
                           boolean pagedResponse, int totalResourceCount); @Override Set<Resource> getResources(); @Override boolean isSortedResponse(); @Override boolean isPagedResponse(); @Override int getTotalResourceCount(); }
QueryResponseImpl implements QueryResponse { @Override public Set<Resource> getResources() { return resources; } QueryResponseImpl(Set<Resource> resources);  QueryResponseImpl(Set<Resource> resources, boolean sortedResponse,
                           boolean pagedResponse, int totalResourceCount); @Override Set<Resource> getResources(); @Override boolean isSortedResponse(); @Override boolean isPagedResponse(); @Override int getTotalResourceCount();  }