@Test
    public void performTest() {
        try (
            ComposeContainer environment = new ComposeContainer(composeFile)
                .withOptions(options.stream().toArray(String[]::new))
                .withLocalCompose(localMode)
        ) {
            environment.start();
            assertThat(expectError).isFalse();
        } catch (Exception e) {
            assertThat(expectError).isTrue();
        }
    }
Tests the options associated with the docker-compose command.
core/src/test/java/org/testcontainers/junit/ComposeContainerWithOptionsTest.java