EventWriter { public void close() throws IOException { output.close(); outputStream.close(); } EventWriter(OutputStream os, Point screen, int orientation); void write(MotionEvent e); void close();  }
@Test public void close() throws IOException { ew.close(); }