@Parameterized.Parameters(
        name = "docker-compose test [compose file: {0}, local: {1}, options: {2}, expected result: {3}]"
    )
    public static Object[][] params() {
        return new Object[][] {
            // Test the happy day case. THe compatibility option should be accepted by docker-compose.
            {
                new File("src/test/resources/compose-options-test/with-deploy-block.yml"),
                false,
                ImmutableSet.of("--compatibility"),
                false,
            },
            // Test with flags absent. Docker compose will warn but continue, ignoring the deploy block.
            {
                new File("src/test/resources/compose-options-test/with-deploy-block.yml"),
                false,
                ImmutableSet.of(""),
                false,
            },
            // Test with a bad option. Compose will complain.
            {
                new File("src/test/resources/compose-options-test/with-deploy-block.yml"),
                false,
                ImmutableSet.of("--bad-option"),
                true,
            },
            // Local compose
            {
                new File("src/test/resources/compose-options-test/with-deploy-block.yml"),
                true,
                ImmutableSet.of("--compatibility"),
                false,
            },
        };
    }
Tests the options associated with the docker-compose command.
core/src/test/java/org/testcontainers/junit/ComposeContainerWithOptionsTest.java