@Test
 public void testInUdp() {
   DirectFieldAccessor dfa = new DirectFieldAccessor(udpIn);
   assertTrue(udpIn.getPort() >= 5000);
   assertEquals(27, dfa.getPropertyValue("poolSize"));
   assertEquals(29, dfa.getPropertyValue("receiveBufferSize"));
   assertEquals(30, dfa.getPropertyValue("soReceiveBufferSize"));
   assertEquals(31, dfa.getPropertyValue("soSendBufferSize"));
   assertEquals(32, dfa.getPropertyValue("soTimeout"));
   assertEquals("testInUdp", udpIn.getComponentName());
   assertEquals("ip:udp-inbound-channel-adapter", udpIn.getComponentType());
   assertEquals("127.0.0.1", dfa.getPropertyValue("localAddress"));
   assertSame(taskExecutor, dfa.getPropertyValue("taskExecutor"));
   assertEquals(errorChannel, dfa.getPropertyValue("errorChannel"));
   DatagramPacketMessageMapper mapper =
       (DatagramPacketMessageMapper) dfa.getPropertyValue("mapper");
   DirectFieldAccessor mapperAccessor = new DirectFieldAccessor(mapper);
   assertFalse((Boolean) mapperAccessor.getPropertyValue("lookupHost"));
   assertFalse(TestUtils.getPropertyValue(udpIn, "autoStartup", Boolean.class));
   assertEquals(1234, dfa.getPropertyValue("phase"));
 }