private static When create(Provider<Executor> provider) {
Scheduler scheduler = new DefaultScheduler(provider);
Environment environment = new DefaultEnvironment(scheduler);
PromiseHelper helper = new PromiseHelper(environment, new NOPContext(), new NOPReporter());
return new DefaultWhen(helper, new ArrayHelper(helper));
}