@Test
public void testSetAttributeWeightTimestamp() {

    Configuration config = new Configuration();
    config.setEdgeWeightType(TimestampDoubleMap.class);
    GraphStore graphStore = GraphGenerator.generateTinyGraphStore(config);
    Edge e = graphStore.getEdge("0");
    Column col = graphStore.edgeTable.getColumn(GraphStoreConfiguration.EDGE_WEIGHT_INDEX);
    TimestampDoubleMap wm = new TimestampDoubleMap();
    wm.put(1.0, 10.0);
    wm.put(2.0, 20.0);
    e.setAttribute(col, wm);
    Assert.assertEquals(e.getWeight(1.0), 10.0);
    Assert.assertEquals(e.getWeight(2.0), 20.0);
}