@Test
public void testRateWithNoMissingDP() {

	long startTimestamp=1*MINUTE;
	double counter=1;
	RateTransform rateTransform = new RateTransform();
	Map<Long, Double> actualDPs = new HashMap<>();
	for(int i=1;i<=60;i++) {
		actualDPs.put(i*MINUTE, counter++);
	}
	List<Metric> metrics = new ArrayList<>();
	Metric actualMetric= new Metric("testScope", "testMetric");
	actualMetric.setDatapoints(actualDPs);
	metrics.add(actualMetric);
	Map<Long, Double> expectedDPs = new HashMap<>();
	for(int i=2;i<=60;i++) {
		expectedDPs.put(i*MINUTE, 1d);
	}
	List<Metric> expectedMetrics = new ArrayList<>();
	Metric expectedMetric= new Metric("testScope", "testMetric");
	expectedMetric.setDatapoints(expectedDPs);
	expectedMetrics.add(expectedMetric);
	QueryContext queryContext = _getQueryContext(startTimestamp, 60*MINUTE);
	List<String> constants = Arrays.asList("1m","FALSE","FALSE");
	List<Metric> actualMetrics= rateTransform.transform(queryContext, metrics, constants);
	assertEquals(expectedMetrics, actualMetrics); 
	assertEquals(expectedMetrics.get(0).getDatapoints(), actualMetrics.get(0).getDatapoints()); 
}