protected AbstractController controller;
@Test
public void testConfigThreadCount() throws Exception {
Configuration configuration = new Configuration();
configuration.setReadThreadCount(10);
configuration.setWriteThreadCount(1);
configuration.setDispatchMessageThreadCount(11);
this.controller = new TCPController(configuration);
this.controller.setHandler(new HandlerAdapter());
Assert.assertEquals(10, this.controller.getReadThreadCount());
Assert.assertEquals(1, this.controller.getWriteThreadCount());
Assert.assertEquals(11, this.controller.getDispatchMessageThreadCount());