Assert.assertEquals("mock-command-inputmany --values ", test.getBuffer());
test.clearScreen();
// Verify that command execution works for one argument
Result result = test.execute("mock-command-inputmany --values one", 5, TimeUnit.SECONDS);
Assert.assertEquals("Command executed with input values : one ", result.getMessage());
// Verify that command execution works for multiple arguments
result = test.execute("mock-command-inputmany --values one two three", 5, TimeUnit.SECONDS);
Assert.assertEquals("Command executed with input values : one two three ", result.getMessage());
// Verify that command execution fails for no arguments
test.clearScreen();
test.waitForStdErrChanged("mock-command-inputmany --values\n", 5, TimeUnit.SECONDS);
Assert.assertThat(test.getStdErr(),