@Test public void getResourceAsStream_A$String_StringIsNull() throws Exception { FileReaderCommonsIOImpl target = new FileReaderCommonsIOImpl(); String name = null; try { target.getResourceAsStream(name); fail(); } catch (JUnitHelperCoreException e) { } }
@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);  }