### Question:
UsbFileInputStream extends InputStream { @Override public void close() throws IOException { file.close(); } UsbFileInputStream(UsbFile file); @Override int available(); @Override int read(); @Override void close(); @Override int read(byte[] buffer); @Override int read(byte[] buffer, int byteOffset, int byteCount); @Override long skip(long byteCount);  }### Answer:
@Test public void close() throws Exception { new UsbFileInputStream(file).close(); verify(file).close(); }