@Test public void testReset() throws IOException { try (FileEventStream feStream = new FileEventStream(new StringReader(EVENTS))) { feStream.reset(); Assert.fail("UnsupportedOperationException should be thrown"); } catch (UnsupportedOperationException expected) { } }
@Override public void reset() throws IOException, UnsupportedOperationException { throw new UnsupportedOperationException(); }
FileEventStream implements ObjectStream<Event> { @Override public void reset() throws IOException, UnsupportedOperationException { throw new UnsupportedOperationException(); } }
FileEventStream implements ObjectStream<Event> { @Override public void reset() throws IOException, UnsupportedOperationException { throw new UnsupportedOperationException(); } FileEventStream(String fileName, String encoding);  FileEventStream(String fileName);  FileEventStream(Reader reader);  FileEventStream(File file); }
FileEventStream implements ObjectStream<Event> { @Override public void reset() throws IOException, UnsupportedOperationException { throw new UnsupportedOperationException(); } FileEventStream(String fileName, String encoding);  FileEventStream(String fileName);  FileEventStream(Reader reader);  FileEventStream(File file); @Override Event read(); void close(); static String toLine(Event event); @Override void reset(); }
FileEventStream implements ObjectStream<Event> { @Override public void reset() throws IOException, UnsupportedOperationException { throw new UnsupportedOperationException(); } FileEventStream(String fileName, String encoding);  FileEventStream(String fileName);  FileEventStream(Reader reader);  FileEventStream(File file); @Override Event read(); void close(); static String toLine(Event event); @Override void reset();  }