ResourceUtils { public static Reader read(String fileName) throws FileNotFoundException { return new InputStreamReader(readToStream(fileName)); }  static Reader read(String fileName); static InputStream readToStream(String fileName); static File[] getPathFiles(String path);  }
@Test(expected = FileNotFoundException.class) public void shouldThrowWhenResourceNotFound() throws FileNotFoundException { ResourceUtils.read("/not-existed"); }