@Test
public void testGetDefaultWeightByGraphView() {

    Configuration config = new Configuration();
    config.setEdgeWeightType(TimestampDoubleMap.class);
    GraphStore graphStore = GraphGenerator.generateTinyGraphStore(config);
    Edge e = graphStore.getEdge("0");
    Assert.assertEquals(e.getWeight(graphStore.mainGraphView), GraphStoreConfiguration.DEFAULT_DYNAMIC_EDGE_WEIGHT_WHEN_MISSING);
}