final Queue asyncCallback = mock(Queue.class);
final ScriptableObject globalScope = new NodeJsGlobal(cx);
final ModuleScriptProvider moduleScriptProvider = mock(ModuleScriptProvider.class);
final Script pre = mock(Script.class);
final Script post = mock(Script.class);
final ExitCallbackExecutor exitCallbackExecutor =
mock(ExitCallbackExecutor.class);
NodeRequire nodeRequire = new NodeRequire(asyncCallback, cx.newObject(globalScope),
cx, globalScope, moduleScriptProvider,