UnsyncStringWriter extends Writer { public StringBuilder getStringBuilder() { return _stringBuilder; } 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 testGetStringBuilder() throws Exception { UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter(false); Assert.assertSame( _stringBuilderField.get(unsyncStringWriter), unsyncStringWriter.getStringBuilder()); }