public class FileCompleterTest extends CompleterTestSupport {
@Test
public void testCompleteArgumnets() throws Exception {
CommandSession session = new DummyCommandSession();
Completer comp = new ArgumentCompleter(session, new SimpleCommand(MyAction.class), "my:action");
// arg 0
assertEquals(Arrays.asList("src"+File.separator), complete(comp, "action s"));
assertEquals(Arrays.asList("main"+File.separator), complete(comp, "action src/m"));
assertEquals(Arrays.asList("java"+File.separator), complete(comp, "action src/main/j"));