when(steps.listCandidates()).thenReturn(
asList(firstCandidate, secondCandidate, thirdCandidate, fourthCandidate));
// When
List<Step> executableSteps = stepCollector.collectScenarioSteps(asList(steps),
new Scenario(asList(givenPendingStep, andGivenPendingStep, whenPendingStep, andWhenPendingStep)),
parameters);
// Then
assertThat(executableSteps.size(), equalTo(4));
assertIsPending(executableSteps.get(0), givenPendingStep, null);
assertIsPending(executableSteps.get(1), andGivenPendingStep, givenPendingStep);