public void start() {
        // Last minute init. Neither properties not annotations provided an
        // injector source.
        if (injector == null) {
            injector = createDefaultScenarioModuleInjectorSource().getInjector();
        }
        scenarioScope = injector.getInstance(ScenarioScope.class);
        scenarioScope.enterScope();
    }
@Test
    void factoryStartFailsIfScenarioScopeIsNotBound() {
        initFactory(Guice.createInjector());

        ConfigurationException actualThrown = assertThrows(ConfigurationException.class, () -> factory.start());
        assertThat("Unexpected exception message", actualThrown.getMessage(),
            containsString("1) [Guice/MissingImplementation]: No implementation for ScenarioScope was bound."));
    }