Config { @Description("apoc.config.list | Lists the Neo4j configuration as key,value table") @Procedure public Stream<ConfigResult> list() { Util.checkAdmin(securityContext, "apoc.config.list"); Configuration config = dependencyResolver.resolveDependency(ApocConfig.class).getConfig(); return Iterators.stream(config.getKeys()).map(s -> new ConfigResult(s, config.getString(s))); }  @Description("apoc.config.list | Lists the Neo4j configuration as key,value table") @Procedure Stream<ConfigResult> list(); @Description("apoc.config.map | Lists the Neo4j configuration as map") @Procedure Stream<MapResult> map(); @Context
    public SecurityContext securityContext; @Context
    public DependencyResolver dependencyResolver; }
@Test public void listTest(){ TestUtil.testCall(db, "CALL apoc.config.list() yield key with * where key STARTS WITH 'foo' RETURN *",(row) -> Assert.assertEquals("foo",row.get("key"))); }