### Question:
ClassPathJobConfiguration implements JobConfiguration { @Override public InputStream getInputStream() { return getClass().getResourceAsStream("/" + path); } ClassPathJobConfiguration(String path); @Override InputStream getInputStream();  }### Answer:
@Test public void getInputStream() throws Exception { ClassPathJobConfiguration jobConfiguration = new ClassPathJobConfiguration("job/config/empty.xml"); assertEquals("<project></project>", Streams.toString(jobConfiguration.getInputStream())); }