@Test
public void testVertexIdAndValue() {
Vertex<LongWritable, FloatWritable, DoubleWritable, LongWritable> vertex =
instantiateVertex(ArrayListEdges.class);
assertNotNull(vertex);
vertex.initialize(new LongWritable(7), new FloatWritable(3.0f));
assertEquals(7, vertex.getId().get());
assertEquals(3.0f, vertex.getValue().get(), 0d);
vertex.setValue(new FloatWritable(5.5f));
assertEquals(5.5f, vertex.getValue().get(), 0d);
}