TimeoutDelegate extends Delegate { public void setTimeout(int timeout) { this.timeout = timeout; } TimeoutDelegate(); Integer getTimeout(); void setTimeout(int timeout); @Override void applyDelegate(Config config);  }
@Test public void testSetTimeout() { assertTrue(delegate.getTimeout() == null); delegate.setTimeout(123); assertTrue(delegate.getTimeout() == 123); }