### Question:
AllStepsPageCollection extends ScenarioSummaryPageCollection { public int getMinimumTimeScenarioIndexFromStep(final Step step) { return stepTimes.get(step).getMinimumTimeScenarioIndex(); } AllStepsPageCollection(List<Report> reports, final String pageTitle); Map<Step, ResultCount> getStepResultCounts(); Set<Step> getSteps(); int getTotalNumberOfSteps(); String getMinimumTimeFromStep(final Step step); int getMinimumTimeScenarioIndexFromStep(final Step step); String getMaximumTimeFromStep(final Step step); int getMaximumTimeScenarioIndexFromStep(final Step step); String getAverageTimeFromStep(final Step step);  }### Answer:
@Test public void getMinimumTimeScenarioIndexFromStepTest() { allStepsPageCollection = new AllStepsPageCollection(getTestReports(), ""); Step step = allStepsPageCollection.getSteps().iterator().next(); assertThat(allStepsPageCollection.getMaximumTimeScenarioIndexFromStep(step), is(0)); }