### Question:
UDPEmitter extends Emitter { public String getUDPAddress() { return config.getUDPAddress(); } UDPEmitter();  UDPEmitter(DaemonConfiguration config); String getUDPAddress(); @Override boolean sendSegment(Segment segment); @Override boolean sendSubsegment(Subsegment subsegment);  }### Answer:
@Test void testCustomAddress() throws SocketException { String address = "123.4.5.6:1234"; DaemonConfiguration config = getDaemonConfiguration(address); UDPEmitter emitter = new UDPEmitter(config); assertThat(emitter.getUDPAddress()).isEqualTo(address); }