public MockRequest(SubmitWorkRequestProto requestProto, QueryFragmentInfo fragmentInfo,
boolean canFinish, boolean canFinishQueue, long workTime,
TezEvent initialEvent, boolean isGuaranteed) {
super(requestProto, fragmentInfo, new Configuration(), new ExecutionContextImpl("localhost"),
null, new Credentials(), 0, mock(AMReporter.class), null, mock(
LlapDaemonExecutorMetrics.class), mock(KilledTaskHandler.class), mock(
FragmentCompletionHandler.class), new DefaultHadoopShim(), null,
requestProto.getWorkSpec().getVertex(), initialEvent, null, mock(
SchedulerFragmentCompletingListener.class), mock(SocketFactory.class), isGuaranteed, null);
this.workTime = workTime;
this.canFinish = canFinish;
this.canFinishQueue = canFinishQueue;
}