### Question:
StringWriter extends Writer { @Override public void close() { } StringWriter();  StringWriter(int initialSize); @Override void close(); @Override void flush(); StringBuilder getBuffer(); @Override String toString(); @Override void write(char[] cbuf, int offset, int count); @Override void write(int oneChar); @Override void write(String str); @Override void write(String str, int offset, int count);  }### Answer:
@Test public void testClose() { StringWriter sut = new StringWriter(); sut.close(); sut.write('4'); }