public List<Map<String, Object>> run(String query) {
    return this.run(query, Collections.emptyMap());
  }
@Test
  public void testRunShouldThrowErrorIfDriverFailsToRunQuery() {
    doThrow(ClientException.class).when(session).run(anyString(), anyMap());

    assertThrows(
        Neo4jResourceManagerException.class,
        () ->
            testManager.run(
                "MATCH (n) WHERE n < $val RETURN n LIMIT 1", Collections.singletonMap("val", 2)));
  }