TitanType dstType = dstTx.getType("name");
Assert.assertNotNull(dstType);
Assert.assertTrue(dstType instanceof TitanKey);
TitanKey dstKey = (TitanKey) dstType;
Assert.assertEquals(dstKey.getName(), "name");
Assert.assertEquals(dstKey.getDataType(), String.class);
// Make sure the vertices got copied.
Vertex dstJoeVertex = dstTx.getVertices("name", "Joe").iterator().next();
Assert.assertNotNull(dstJoeVertex);
Assert.assertEquals(dstJoeVertex.getProperty("name"), "Joe");