Assert.assertEquals("y2", mapY.get("col2"));
}
@Test
public void convertElements() throws Exception {
TinkerGraph g = TinkerGraphFactory.createTinkerGraph();
BufferPacker packer = msgpack.createBufferPacker(1024);
ResultsConverter.serializeObject(g.getVertices(), packer);
byte[] results = packer.toByteArray();
final Object unpacked = ResultsConverter.deserializeObject(msgpack.read(results));
Assert.assertTrue(unpacked instanceof Iterable);