public void testMandatoryMultiArgument() throws Exception {
TestShell shell = new TestShell();
shell.addAlias("cmd", "org.jnode.test.shell.syntax.ArgumentMultiplicityTest$MandatoryMulti");
shell.addSyntax("cmd", new RepeatSyntax(new ArgumentSyntax("arg1")));
CommandLine cl = new CommandLine(new Token("cmd"), new Token[] {new Token("F1")}, null);
CommandInfo cmdInfo = cl.parseCommandLine(shell);
Command cmd = cmdInfo.createCommandInstance();
Assert.assertEquals("F1", cmd.getArgumentBundle().getArgument("arg1").getValue().toString());
try {
cl = new CommandLine(new Token("cmd"), new Token[] {}, null);