Map<String, TemporalInfo> temporalInfoMap = new HashMap<String, TemporalInfo>();
TemporalInfo temporalInfo = new TemporalInfoImpl(1000L, 1100L, 10L);
temporalInfoMap.put("metrics/myMetric", temporalInfo);
Request request = PropertyHelper.getReadRequest(requestProperties, temporalInfoMap);
Predicate predicate = new AlwaysPredicate();
Set<Resource> resources = viewSubResourceProvider.getResources(request, predicate);
Assert.assertEquals(2, resources.size());
}