@Test public void getResourceAsStream_A$String() throws Exception { FileReaderCommonsIOImpl target = new FileReaderCommonsIOImpl(); String name = "junithelper-config.properties"; InputStream actual = target.getResourceAsStream(name); assertNotNull(actual); IOUtils.closeQuietly(actual); }
@Override public InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return FileReaderCommonsIOImpl.class.getClassLoader().getResourceAsStream(name); }
FileReaderCommonsIOImpl implements FileReader { @Override public InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return FileReaderCommonsIOImpl.class.getClassLoader().getResourceAsStream(name); } }
FileReaderCommonsIOImpl implements FileReader { @Override public InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return FileReaderCommonsIOImpl.class.getClassLoader().getResourceAsStream(name); }  }
FileReaderCommonsIOImpl implements FileReader { @Override public InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return FileReaderCommonsIOImpl.class.getClassLoader().getResourceAsStream(name); }  @Override InputStream getResourceAsStream(String name); @Override String readAsString(File file); @Override String getDetectedEncoding(File file); }
FileReaderCommonsIOImpl implements FileReader { @Override public InputStream getResourceAsStream(String name) { Assertion.on("name").mustNotBeNull(name); return FileReaderCommonsIOImpl.class.getClassLoader().getResourceAsStream(name); }  @Override InputStream getResourceAsStream(String name); @Override String readAsString(File file); @Override String getDetectedEncoding(File file);  }