mapReduceDriver.addInput(NullWritable.get(), new FaunusVertex(1));
mapReduceDriver.addInput(NullWritable.get(), new FaunusVertex(2));
mapReduceDriver.addInput(NullWritable.get(), new FaunusVertex(3));
mapReduceDriver.addInput(NullWritable.get(), new FaunusVertex(2));
mapReduceDriver.addInput(NullWritable.get(), new FaunusVertex(3));
mapReduceDriver.addInput(NullWritable.get(), new FaunusEdge(1, 2, "likes"));
mapReduceDriver.addInput(NullWritable.get(), new FaunusEdge(2, 3, "hates"));
mapReduceDriver.addInput(NullWritable.get(), new FaunusEdge(3, 1, "likes"));
Map<Long, FaunusVertex> results = BaseTest.run(mapReduceDriver);
assertEquals(results.size(), 3);
assertEquals(results.get(1l).getIdAsLong(), 1);
assertEquals(results.get(2l).getIdAsLong(), 2);
assertEquals(results.get(3l).getIdAsLong(), 3);