private final BroadcastVariableManager bcVarManager = new BroadcastVariableManager();
public MockEnvironment(long memorySize, MockInputSplitProvider inputSplitProvider, int bufferSize) {
this.jobConfiguration = new Configuration();
this.taskConfiguration = new Configuration();
this.inputs = new LinkedList<InputGate<Record>>();
this.outputs = new LinkedList<OutputGate>();
this.memManager = new DefaultMemoryManager(memorySize, 1);
this.ioManager = new IOManager(System.getProperty("java.io.tmpdir"));