@@ -0,0 +1,1395 @@
+package picocli;%0A%0Aimport org.junit.Ignore;%0Aimport org.junit.Test;%0Aimport picocli.CommandLine.ArgGroup;%0Aimport picocli.CommandLine.IParameterConsumer;%0Aimport picocli.CommandLine.Model.ArgSpec;%0Aimport picocli.CommandLine.Model.CommandSpec;%0Aimport picocli.CommandLine.Option;%0A%0Aimport java.util.Stack;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class Issue1549ArgGroupParamConsumer %7B%0A    static class MyCommand %7B%0A        static class TestConsumer implements IParameterConsumer %7B%0A            public void consumeParameters(Stack%3CString%3E args, ArgSpec argSpec, CommandSpec commandSpec) %7B%0A                argSpec.setValue(args.pop());%0A            %7D%0A        %7D%0A%0A        @ArgGroup%0A        Group group;%0A%0A        static class Group %7B%0A            @Option(names = %22-foo%22/*, parameterConsumer = TestConsumer.class*/)%0A            String foo;%0A%0A            @Option(names = %22-bar%22)%0A            String bar;%0A        %7D%0A    %7D%0A%0A    @Ignore(%22https://github.com/remkop/picocli/issues/1549%22)%0A    @Test%0A    public void testIssue1549() %7B%0A//        try %7B%0A            new CommandLine(new MyCommand()).parseArgs(%22-foo%22, %22value%22, %22-bar%22, %22value%22);%0A            fail(%22Expected exception%22);%0A//        %7D catch (CommandLine.MutuallyExclusiveArgsException ex) %7B%0A//            String msg = %22Error: -foo=%3Cfoo%3E, -bar=%3Cbar%3E are mutually exclusive (specify only one)%22;%0A//            assertEquals(msg, ex.getMessage());%0A//        %7D%0A    %7D%0A%0A%7D%0A

add failing test