UnsyncStringWriter extends Writer { @Override public void flush() { } UnsyncStringWriter();  UnsyncStringWriter(boolean useStringBundler);  UnsyncStringWriter(boolean useStringBundler, int initialCapacity);  UnsyncStringWriter(int initialCapacity); @Override UnsyncStringWriter append(char c); @Override UnsyncStringWriter append(CharSequence charSequence); @Override UnsyncStringWriter append(
		CharSequence charSequence, int start, int end); @Override void close(); @Override void flush(); StringBuilder getStringBuilder(); StringBundler getStringBundler(); void reset(); @Override String toString(); @Override void write(char[] chars); @Override void write(char[] chars, int offset, int length); @Override void write(int c); @Override void write(String string); @Override void write(String string, int offset, int length);  }
@Test public void testFlushAndClose() { try (UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter()) { unsyncStringWriter.flush(); } }