@Override
    public void setBeanFactory( BeanFactory beanFactory ) {
        getScenario().setStageCreator( beanFactory.getBean( SpringStageCreator.class ) );
    }
Base class for Spring 5 and JUnit 5 test with three stage classes

@param <GIVEN> the GIVEN stage class
@param <WHEN> the WHEN stage class
@param <THEN> the THEN stage class

@since 1.0.0
jgiven-spring-junit5/src/main/java/com/tngtech/jgiven/integration/spring/junit5/SpringScenarioTest.java