### Question:
BaseStringWriter implements StringWriter { @Override public void release() { IoUtil.release(byteArrayWriter); } BaseStringWriter(ByteArrayWriter byteArrayWriter); @Override void put(long pos, String val); @Override void release();  }### Answer:
@Test public void release() { mockStatic(IoUtil.class); new BaseStringWriter(byteArrayWriter).release(); verifyStatic(IoUtil.class); IoUtil.release(byteArrayWriter); }