### Question:
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);  }### Answer:
@Test public void close() throws Exception { new UsbFileOutputStream(file).close(); verify(file).close(); }