using Retlang;

namespace RetlangTests
{
    public class ProcessFactoryFixture
    {
        public static ProcessContextFactory CreateAndStart()
        {
            ProcessContextFactory factory = new ProcessContextFactory();
            factory.TransferEnvelopeFactory = new ObjectTransferEnvelopeFactory();
            factory.MaxQueueDepth = 10000;
            factory.MaxEnqueueWaitTime = 10000;
            factory.Start();
            return factory;
        }
    }
}