@Test public void verifyGetsImage() { PipeResourceLocator locator = new PipeResourceLocator(); URL url = locator.getImage("About"); assertTrue(url.getPath().endsWith("/images/About.png")); url = locator.getImage("Add token"); assertTrue("embedded blanks ok",url.getPath().endsWith("/images/Add%20token.png")); }
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();  }