public class IoAcceptorFactoryBeanTest extends TestCase {
public void testBindUnbind() throws Exception {
IoHandler handler1 = new IoHandlerAdapter();
IoHandler handler2 = new IoHandlerAdapter();
IoHandler handler3 = new IoHandlerAdapter();
IoServiceConfig config1 = (IoServiceConfig) MockControl.createControl(
IoServiceConfig.class).getMock();
IoServiceConfig config2 = (IoServiceConfig) MockControl.createControl(
IoServiceConfig.class).getMock();
MockControl mockIoAcceptor = MockControl
.createControl(IoAcceptor.class);
IoAcceptor acceptor = (IoAcceptor) mockIoAcceptor.getMock();