@Test
public void testReset() throws Exception {

	// StringBuilder
	UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter(false);
	StringBuilder stringBuilder = (StringBuilder)_stringBuilderField.get(
		unsyncStringWriter);
	unsyncStringWriter.write("test1");
	Assert.assertEquals(5, stringBuilder.length());
	unsyncStringWriter.reset();
	Assert.assertEquals(0, stringBuilder.length());
	// StringBundler
	unsyncStringWriter = new UnsyncStringWriter();
	StringBundler stringBundler = (StringBundler)_stringBundlerField.get(
		unsyncStringWriter);
	unsyncStringWriter.write("test1");
	Assert.assertEquals(1, stringBundler.index());
	unsyncStringWriter.reset();
	Assert.assertEquals(0, stringBundler.index());
}