}
private void verifyOutput() throws IOException {
SequenceFile.Reader reader = new SequenceFile.Reader(fs,
new Path(SEQ_INPUT), conf);
VertexWritable vertex = new VertexWritable();
VertexArrayWritable vertexArray = new VertexArrayWritable();
while (reader.next(vertex, vertexArray)) {
int count = 0;
assertEquals(vertex.getName(), count + "");
Writable[] writables = vertexArray.get();
assertEquals(writables.length, 4);
for (int i = 0; i < 4; i++) {
count++;
assertEquals(((VertexWritable) writables[i]).getName(), count + "");