230231232233234235236237
} } void runScenario(final Object testObject, final InputStream scenarioIs) throws IOException, MByHaveException { final Scenario scenario = parseScenario(scenarioIs); processScenario(testObject, scenario); }
407408409410411412413
if (parseDescription) { throw new MByHaveException("The scenario description does not contain any step description"); //TODO get the scenario description from somewhere. } steps.add(scenarioBuilder.toString()); } return new Scenario(scenarioDescription, steps); }