public MutationTestProcess createWorker( final Collection<MutationDetails> remainingMutations, final Collection<ClassName> testClasses) { final MinionArguments fileArgs = new MinionArguments(remainingMutations, testClasses, this.config.getEngine().getName(), this.args, this.timeoutStrategy, Log.isVerbose(), this.fullMutationMatrix, this.pitConfig); final ProcessArgs args = ProcessArgs.withClassPath(this.classPath) .andLaunchOptions(this.config.getLaunchOptions()) .andBaseDir(this.baseDir).andStdout(captureStdOutIfVerbose()) .andStderr(printWith("stderr ")); final SocketFinder sf = new SocketFinder(); final MutationTestProcess worker = new MutationTestProcess( sf.getNextAvailableServerSocket(), args, fileArgs); return worker; }