@Test
public void testGetNodesNotFound() {

    Page<Node> resultPage = graphController.getNodes("name:xx*", PageRequest.of(0, 3));
    // page 1:
    assertThat(resultPage, notNullValue());
    assertThat(resultPage.getTotalElements(), is(0L));
    assertThat(resultPage.getTotalPages(), is(0));
    List<Node> nodes = resultPage.getContent();
    assertThat(nodes, hasSize(0));
}