GeneralDelegate extends Delegate { public void setDebug(boolean debug) { this.debug = debug; } 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 testSetDebug() { assertFalse(delegate.isDebug()); delegate.setDebug(true); assertTrue(delegate.isDebug()); }