@Test
public void testFullReadWrite() throws Exception {
long ts = timestamp.incrementAndGet();
Locator locator = Locator.createLocatorFromPathComponents("12345", "test", "full", "read", "put");
IMetric metric = new PreaggregatedMetric(ts, locator, ttl, simple);
writer.insertMetrics(Lists.newArrayList(metric), CassandraModel.CF_METRICS_PREAGGREGATED_FULL);
Points<TimerRollup> points = PreaggregatedMetricsIntegrationTest.getTimerDataToRoll(reader, locator, new Range(ts, ts+1), Granularity.FULL);
Assert.assertEquals(1, points.getPoints().size());
Assert.assertEquals(metric.getMetricValue(), points.getPoints().get(ts).getData());
}