GeneralDelegate extends Delegate { public boolean isQuiet() { return quiet; } GeneralDelegate(); boolean isHelp(); void setHelp(boolean help); boolean isDebug(); void setDebug(boolean debug); boolean isQuiet(); void setQuiet(boolean quiet); String getKeylogfile(); void setKeylogfile(String keylogfile); @Override void applyDelegate(Config config);  }
@Test public void testIsQuiet() { args = new String[1]; args[0] = "-quiet"; assertFalse(delegate.isQuiet()); jcommander.parse(args); assertTrue(delegate.isQuiet()); }