@Test
    public void shouldRespectAlreadyDefinedPortMappingsWithoutHttps() {
        Neo4jContainer<?> neo4jContainer = new Neo4jContainer<>("neo4j:4.4").withExposedPorts(7687, 7474);

        neo4jContainer.configure();

        assertThat(neo4jContainer.getExposedPorts()).containsExactlyInAnyOrder(7474, 7687);
    }
Tests of functionality special to the Neo4jContainer.
modules/neo4j/src/test/java/org/testcontainers/containers/Neo4jContainerTest.java