mockEdgeValue(vertex, "Los Angeles", 347.16);
mockEdgeValue(vertex, "Phoenix", 652.48);
RecordWriter<Text,Text> tw = mock(RecordWriter.class);
AdjacencyListVertexWriter writer = new AdjacencyListVertexWriter(tw);
writer.initialize(tac);
writer.writeVertex(vertex);
Text expected = new Text("San Francisco:::0.0:::Los Angeles:::347.16:::" +
"Phoenix:::652.48");
verify(tw).write(expected, null);