### Question:
TcpConnectionFactoryFactoryBean extends AbstractFactoryBean<AbstractConnectionFactory> implements Lifecycle, BeanNameAware, ApplicationEventPublisherAware, ApplicationContextAware { public void setHost(String host) { Assert.notNull(host, "Host may not be null"); this.host = host; } TcpConnectionFactoryFactoryBean();  TcpConnectionFactoryFactoryBean(String type); @Override void setApplicationContext(ApplicationContext applicationContext); @Override Class<?> getObjectType(); void setPort(int port); void setHost(String host); final void setType(String type); void setLocalAddress(String localAddress); void setSoTimeout(int soTimeout); void setSoReceiveBufferSize(int soReceiveBufferSize); void setSoSendBufferSize(int soSendBufferSize); void setSoTcpNoDelay(boolean soTcpNoDelay); void setSoLinger(int soLinger); void setSoKeepAlive(boolean soKeepAlive); void setSoTrafficClass(int soTrafficClass); void setUsingNio(boolean usingNio); void setUsingDirectBuffers(boolean usingDirectBuffers); void setTaskExecutor(Executor taskExecutor); void setDeserializer(Deserializer<?> deserializer); void setSerializer(Serializer<?> serializer); void setMapper(TcpMessageMapper mapper); void setSingleUse(boolean singleUse); void setBacklog(int backlog); void setInterceptorFactoryChain(
			TcpConnectionInterceptorFactoryChain interceptorFactoryChain); void setLookupHost(boolean lookupHost); @Override void start(); @Override void stop(); @Override boolean isRunning(); @Override void setBeanName(String name); void setApplySequence(boolean applySequence); void setReadDelay(long readDelay); void setSslContextSupport(TcpSSLContextSupport sslContextSupport); void setSocketSupport(TcpSocketSupport tcpSocketSupport); void setNioConnectionSupport(TcpNioConnectionSupport tcpNioSupport); void setNetConnectionSupport(TcpNetConnectionSupport tcpNetSupport); void setSocketFactorySupport(
			TcpSocketFactorySupport tcpSocketFactorySupport); @Override void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher); void setConnectTimeout(int connectTimeout); void setSslHandshakeTimeout(Integer sslHandshakeTimeout);  }### Answer:
@Test public void testNoReadDelay() throws Exception { TcpConnectionFactoryFactoryBean fb = new TcpConnectionFactoryFactoryBean(); fb.setHost("foo"); fb.setBeanFactory(mock(BeanFactory.class)); fb.afterPropertiesSet(); assertThat(TestUtils.getPropertyValue(fb.getObject(), "readDelay")).isEqualTo(100L); }