public static TitanVertex getV(TitanGraphTransaction g, Object vid) {
   if (!g.vertices(vid).hasNext()) return null;
   return (TitanVertex) g.vertices(vid).next();
 }
 public static void assertMissing(TitanGraphTransaction g, Object vid) {
   assertFalse(g.vertices(vid).hasNext());
 }