final Mock mockHandler = new Mock( RequestHandler.class );
final RequestHandler handler = (RequestHandler)mockHandler.proxy();
final Mock mockPool = new Mock( ThreadPool.class );
mockPool.expectAndReturn( "execute", C.args( C.isA( Runnable.class ) ), control );
final ThreadPool threadPool = (ThreadPool)mockPool.proxy();
final ThreadPerRequestHandler requestHandler =
new ThreadPerRequestHandler( handler, threadPool );
requestHandler.handleConnection( new Socket() );