@Test public void the_test_step_knows_how_many_illustrations_it_has() throws IOException { 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")); step.addScreenshot( forScreenshotWithImage("/screenshots/google_page_3.png") .and() .withSource("screenshot2.html")); assertThat(step.getScreenshotCount(), is(3)); }