@Test
public void shouldExecuteQueryPropertiesMap2() {

    List<Map<String, List<String>>> properties = executor.executeGremlin(graph.traversal(), "g.V().valueMap('name').toList()");
    assertFalse(properties.isEmpty());
    assertEquals(2, properties.size());
    List<String> names = properties.stream().map(p -> p.get("name")).flatMap(List::stream).collect(Collectors.toList());
    assertThat(names, containsInAnyOrder("Bruce Banner", "Natasha Romanoff"));
}