TestHandler testHandler = new TestHandler();
testProcessor = new ThriftTest.Processor(testHandler);
pFactory = new TProcessorFactory(testProcessor);
// Transport
tNonblockingServerSocket = new TNonblockingServerSocket(0);
TEST_PORT = tNonblockingServerSocket.getLocalPort();
// Protocol factory
List<THeaderTransport.ClientTypes> clientTypes =
new ArrayList<THeaderTransport.ClientTypes>();