TransportHandlerDelegate extends Delegate { public TransportHandlerType getTransportHandlerType() { return transportHandlerType; } TransportHandlerDelegate(); TransportHandlerType getTransportHandlerType(); void setTransportHandlerType(TransportHandlerType transportHandlerType); @Override void applyDelegate(Config config);  }
@Test public void testGetTransportHandlerType() { args = new String[2]; args[0] = "-transport_handler_type"; args[1] = "UDP"; assertFalse(delegate.getTransportHandlerType() == TransportHandlerType.UDP); jcommander.parse(args); assertTrue(delegate.getTransportHandlerType() == TransportHandlerType.UDP); }