@Test
public void shouldSupportVertexPropertyToVertexMappingOnIndexCalls() {
// todo: review this feature check - this test does a lot of stuff - maybe losing some important assertions this way
if (g.features().vertex().supportsMultiProperties()) {
g.tx().readWrite();
final Schema schema = g.getBaseGraph().schema();
schema.indexFor(DynamicLabel.label("person")).on("name").create();
schema.indexFor(DynamicLabel.label("name")).on(T.value.getAccessor()).create();
this.g.tx().commit();
final Vertex a = g.addVertex(T.label, "person", "name", "marko", "age", 34);
a.property("name", "okram");
a.property("name", "marko a. rodriguez");