@Test public void testClose() throws IOException { noCloseWriter.close(); Mockito.verifyNoMoreInteractions(delegateWriter); }
@Override public void close() throws IOException { }
NoCloseWriter extends Writer { @Override public void close() throws IOException { } }
NoCloseWriter extends Writer { @Override public void close() throws IOException { } NoCloseWriter(Writer writer); }
NoCloseWriter extends Writer { @Override public void close() throws IOException { } NoCloseWriter(Writer writer); @Override void close(); @Override void flush(); @Override void write(char[] cbuf, int off, int len); }
NoCloseWriter extends Writer { @Override public void close() throws IOException { } NoCloseWriter(Writer writer); @Override void close(); @Override void flush(); @Override void write(char[] cbuf, int off, int len);  }