@Test
public void shouldReturnOptionalEmptyWhenThereIsNotResultInSingleResult() {

    Optional<Map<String, Object>> entity =   graphTemplate.getTraversalVertex()
            .hasLabel("not_found").valueMap("name").getSingleResult();
    assertFalse(entity.isPresent());
}