@Test
public void should_inject_dependencies_into_step_library() {
SpringDependencyInjector dependencyInjector = new SpringDependencyInjector();
FlatScenarioStepsWithSpringDependencies steps = new FlatScenarioStepsWithSpringDependencies(pages);
dependencyInjector.injectDependenciesInto(steps);
assertThat(steps.widgetService, is(notNullValue()));
assertThat(steps.catalogService, is(notNullValue()));