@Override
    public List<String> choices() {
        if (commandLine.getArguments() == null) {
            return Collections.emptyList();
        }
        List<String> argList = Lists.newArrayList();

        String argOne = null;
        if (argList.size() > 1) {
            argOne = argList.get(1);
        }
        VplsCommandEnum vplsCommandEnum = VplsCommandEnum.enumFromString(argOne);
        if (vplsCommandEnum != null) {
            switch (vplsCommandEnum) {
                case CREATE:
                case LIST:
                    return Collections.emptyList();
                default:
                    VplsCommandEnum.toStringList();
            }
        }
        return VplsCommandEnum.toStringList();
    }
@Test
    public void testCommandCompleter() {
        VplsCommandCompleter commandCompleter = new VplsCommandCompleter();
        List<String> choices = commandCompleter.choices();
        List<String> expected = VplsCommandEnum.toStringList();
        assertEquals(expected, choices);
    }