@Test(expected = SubstepsConfigurationException.class)
public void testMissingSubStepCausesFailure() {

    final String feature = SUBSTEPS_RESOURCES_BASE_DIRECTORY + "features/error.feature";
    final String tag = "@bug_missing_sub_step_impl";
    final String substeps = SUBSTEPS_RESOURCES_BASE_DIRECTORY + "substeps/error.substeps";

    final JunitFeatureRunner runner = new JunitFeatureRunner();

    final List<Class<?>> stepImplsList = new ArrayList<Class<?>>();
    stepImplsList.add(TestStepImplementations.class);

    runner.init(this.getClass(), stepImplsList, feature, tag, substeps, null);
}