@Test
public void testGetResource() {

  ResourceDefinition resource = new ClusterResourceDefinition();
  QueryInfo info = new QueryInfo(resource, new HashSet<String>());
  assertSame(resource, info.getResource());
}