@Test
public void shouldReturnResultAsList() {

    List<Map<String, Object>> maps = graphTemplate.getTraversalVertex()
            .hasLabel(Person.class).valueMap("name")
            .getResultList();
    assertEquals(3, maps.size());
}