@Test public void verifyImageNotFoundTellsWhereWeLooked() { expectedException.expect(RuntimeException.class); expectedException.expectMessage("Could not find nonexistent.png in "); PipeResourceLocator locator = new PipeResourceLocator(); locator.getImage("nonexistent"); }
public URL getImage(String image) { return getResource(IMAGE_PATH,image,".png"); }
PipeResourceLocator { public URL getImage(String image) { return getResource(IMAGE_PATH,image,".png"); } }
PipeResourceLocator { public URL getImage(String image) { return getResource(IMAGE_PATH,image,".png"); }  }
PipeResourceLocator { public URL getImage(String image) { return getResource(IMAGE_PATH,image,".png"); }  URL getImage(String image); URL getExample(String example); URL getExamplePath(); URL getImagePath(); }
PipeResourceLocator { public URL getImage(String image) { return getResource(IMAGE_PATH,image,".png"); }  URL getImage(String image); URL getExample(String example); URL getExamplePath(); URL getImagePath();  }