assertTrue("Should have been able to read vertex", vr.nextVertex());
BasicVertex<LongWritable, DoubleWritable, DoubleWritable, BooleanWritable>
vertex = vr.getCurrentVertex();
setGraphState(vertex, graphState);
assertValidVertex(conf, graphState, vertex,
new LongWritable(42), new DoubleWritable(0.1),
new Edge<LongWritable, DoubleWritable>(new LongWritable(99), new DoubleWritable(0.2)),
new Edge<LongWritable, DoubleWritable>(new LongWritable(2000), new DoubleWritable(0.3)),
new Edge<LongWritable, DoubleWritable>(new LongWritable(4000), new DoubleWritable(0.4)));
assertEquals(vertex.getNumOutEdges(), 3);
}