public void setBeanFactory( BeanFactory beanFactory ) {
        getScenario().setStageCreator( beanFactory.getBean( SpringStageCreator.class ) );
    }
A variant of {@link SpringScenarioTest} works with two
stage type parameters instead of three.

@param <GIVEN_WHEN> the stage class that contains the step definitions for given and when
@param <THEN> the stage class that contains the step definitions for then
jgiven-spring-junit4/src/main/java/com/tngtech/jgiven/integration/spring/DualSpringScenarioTest.java