@Test
public void shouldReturnOptionalEmptyWhenThereIsNotResultInSingleResult() {

    Optional<EdgeEntity> entity = graphTemplate.getTraversalEdge(-1L).getSingleResult();
    assertFalse(entity.isPresent());
}