Command initCommand = getInitCommand();
initCommand.execute(commandState);
InteractiveTestCommand testCommand = new InteractiveTestCommand();
StopCheckerListener stopCheckerListener = new StopCheckerListener();
Integer maxInactiveSeconds = getMaxInactiveSeconds();
if (maxInactiveSeconds != null) {
stopCheckerListener.setMaxInactiveSeconds(maxInactiveSeconds);
stopCheckerListener.start();
testCommand.addTestListener(stopCheckerListener);
}
Map<String, String> aliasMap = getAliasMap();
testCommand.setAliasMap(aliasMap);