@Test
    public void shouldSetCustomPasswordCorrectly() {
        // withAdminPassword {
        Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:4.4").withAdminPassword("verySecret");
        // }

        neo4jContainer.configure();

        assertThat(neo4jContainer.getEnvMap()).containsEntry("NEO4J_AUTH", "neo4j/verySecret");
    }
Tests of functionality special to the Neo4jContainer.
modules/neo4j/src/test/java/org/testcontainers/containers/Neo4jContainerTest.java