TestStep step = new TestStep("a narrative description");
step.addScreenshot(forScreenshotWithImage("/screenshots/google_page_1.png").and().withSource("screenshot.html"));
step.addScreenshot(forScreenshotWithImage("/screenshots/google_page_2.png").and().withSource("screenshot2.html"));
ScreenshotAndHtmlSource screenshot1 = step.getScreenshots().get(0);
ScreenshotAndHtmlSource screenshot2 = step.getScreenshots().get(1);
assertThat(screenshot1.getScreenshotFile().getName(), is("google_page_1.png"));
assertThat(screenshot1.getHtmlSource().get().getName(), is("screenshot.html"));
assertThat(screenshot2.getScreenshotFile().getName(), is("google_page_2.png"));
assertThat(screenshot2.getHtmlSource().get().getName(), is("screenshot2.html"));
assertThat(screenshot1.hashCode(), is(not(screenshot2.hashCode())));
}