@Test public void close() throws Exception { new UsbFileOutputStream(file).close(); verify(file).close(); }
@Override public void close() throws IOException { file.close(); }
UsbFileOutputStream extends OutputStream { @Override public void close() throws IOException { file.close(); } }
UsbFileOutputStream extends OutputStream { @Override public void close() throws IOException { file.close(); } UsbFileOutputStream(@NonNull UsbFile file); }
UsbFileOutputStream extends OutputStream { @Override public void close() throws IOException { file.close(); } UsbFileOutputStream(@NonNull UsbFile file); @Override void write(int oneByte); @Override void close(); @Override void flush(); @Override void write(byte[] buffer); @Override void write(byte[] buffer, int offset, int count); }
UsbFileOutputStream extends OutputStream { @Override public void close() throws IOException { file.close(); } UsbFileOutputStream(@NonNull UsbFile file); @Override void write(int oneByte); @Override void close(); @Override void flush(); @Override void write(byte[] buffer); @Override void write(byte[] buffer, int offset, int count);  }