TransportHandlerDelegate extends Delegate { public void setTransportHandlerType(TransportHandlerType transportHandlerType) { this.transportHandlerType = transportHandlerType; } TransportHandlerDelegate(); TransportHandlerType getTransportHandlerType(); void setTransportHandlerType(TransportHandlerType transportHandlerType); @Override void applyDelegate(Config config);  }
@Test public void testSetTransportHandlerType() { assertFalse(delegate.getTransportHandlerType() == TransportHandlerType.UDP); delegate.setTransportHandlerType(TransportHandlerType.UDP); assertTrue(delegate.getTransportHandlerType() == TransportHandlerType.UDP); }