@Test
    void flagSucceedingFlagWithStringArrayArgument() {
        // Arrange
        final CommandManager<TestCommandSender> commandManager = createManager();
        commandManager.command(
                commandManager.commandBuilder("command")
                        .flag(commandManager.flagBuilder("flag1").withComponent(flagYieldingStringArrayParser()))
                        .flag(commandManager.flagBuilder("flag2").withComponent(flagYieldingStringArrayParser()))
        );

        // Act
        final CommandResult<TestCommandSender> result = commandManager.commandExecutor().executeCommand(
                new TestCommandSender(),
                "command --flag1 one two three --flag2 1 2 3"
        ).join();

        // Assert
        final CommandContext<TestCommandSender> context = result.commandContext();
        final FlagContext flags = context.flags();

        assertThat(flags.<String[]>getValue("flag1")).hasValue(new String[]{"one", "two", "three"});
        assertThat(flags.<String[]>getValue("flag2")).hasValue(new String[]{"1", "2", "3"});
    }
Test for https://github.com/Incendo/cloud/issues/321.
cloud-core/src/test/java/org/incendo/cloud/issue/Issue321.java