public void testPreemptorDisabled() throws Exception {
Injector injector = createInjector(new AsyncModule(false));
Supplier<ImmutableSet<IScheduledTask>> taskSupplier =
createMock(new Clazz<Supplier<ImmutableSet<IScheduledTask>>>() { });
AttributeStore attributeStore = createMock(AttributeStore.class);
control.replay();
injector.getInstance(Key.get(ExceptionalCommand.class, StartupStage.class)).execute();