}
@Test
public void shouldPerformStepsInDryRunMode() {
Configuration configuration = new MostUsefulConfiguration();
configuration.storyControls().doDryRun(true);
NamedTypeSteps steps = new NamedTypeSteps(configuration);
List<StepCandidate> candidates = steps.listCandidates();
assertThat(candidates.size(), equalTo(2));
StepCandidate step0 = candidateMatchingStep(candidates, "Given foo named $name");
step0.createMatchedStep("Given foo named xyz", namedParameters).perform(null);