### Question:
SystemCommand extends AbstractCommand { @ShellMethod(key = COMMAND_SYSTEM_PROPERTIES, value = "List system properties.") @ShellMethodAvailability("jvmPropertiesAvailability") public Object jvmProperties(boolean simpleView) { Map<String, String> map = System.getProperties().entrySet().stream().filter(e -> e.getKey() != null) .collect(Collectors.toMap(e -> e.getKey().toString(), e -> e.getValue() != null ? e.getValue().toString() : "")); if (simpleView) { return buildSimple(map); } return buildTable(map).render(helper.terminalSize().getRows()); } SystemCommand(SshShellHelper helper, SshShellProperties properties); @ShellMethod(key = COMMAND_SYSTEM_ENV, value = "List system environment.") @ShellMethodAvailability("jvmEnvAvailability") Object jvmEnv(boolean simpleView); @ShellMethod(key = COMMAND_SYSTEM_PROPERTIES, value = "List system properties.") @ShellMethodAvailability("jvmPropertiesAvailability") Object jvmProperties(boolean simpleView); @ShellMethod(key = COMMAND_SYSTEM_THREADS, value = "List jvm threads.") @ShellMethodAvailability("threadsAvailability") String threads(@ShellOption(defaultValue = "LIST") ThreadAction action,
                          @ShellOption(help = "Order by column. Default is: ID", defaultValue = "ID") ThreadColumn orderBy,
                          @ShellOption(help = "Reverse order by column. Default is: false") boolean reverseOrder,
                          @ShellOption(help = "Not interactive. Default is: false") boolean staticDisplay,
                          @ShellOption(help = "Only for DUMP action", defaultValue = ShellOption.NULL) Long threadId); static final String SPLIT_REGEX; }### Answer:
@Test void jvmProperties() { command.jvmProperties(false); command.jvmProperties(true); }