@Test
    public void shouldRespectCustomWaitStrategy() {
        Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:4.4").waitingFor(new CustomDummyWaitStrategy());

        neo4jContainer.configure();

        assertThat(neo4jContainer.getWaitStrategy()).isInstanceOf(CustomDummyWaitStrategy.class);
    }
Tests of functionality special to the Neo4jContainer.
modules/neo4j/src/test/java/org/testcontainers/containers/Neo4jContainerTest.java