@Test
public void shouldExecuteWithParams() {

    List<Person> people = executor.executeGremlin(graph.traversal(),
            "g.V().in(param).toList()",singletonMap("param", "loves"));
    assertFalse(people.isEmpty());
    List<String> names = people.stream().map(Person::getName).collect(Collectors.toList());
    assertThat(names, containsInAnyOrder("Bruce Banner"));
}