GeneralDelegate extends Delegate { public void setQuiet(boolean quiet) { this.quiet = 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 testSetQuiet() { assertFalse(delegate.isQuiet()); delegate.setQuiet(true); assertTrue(delegate.isQuiet()); }