@Test
public void testToString() throws Exception {

	// StringBuilder
	UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter(false);
	StringBuilder stringBuilder = (StringBuilder)_stringBuilderField.get(
		unsyncStringWriter);
	Assert.assertNotNull(stringBuilder);
	Assert.assertNull(_stringBundlerField.get(unsyncStringWriter));
	unsyncStringWriter.append('a');
	Assert.assertEquals(1, stringBuilder.length());
	Assert.assertEquals("a", unsyncStringWriter.toString());
	unsyncStringWriter.append('b');
	Assert.assertEquals(2, stringBuilder.length());
	Assert.assertEquals("ab", unsyncStringWriter.toString());
	// StringBundler
	unsyncStringWriter = new UnsyncStringWriter();
	StringBundler stringBundler = (StringBundler)_stringBundlerField.get(
		unsyncStringWriter);
	Assert.assertNull(_stringBuilderField.get(unsyncStringWriter));
	Assert.assertNotNull(stringBundler);
	unsyncStringWriter.append('a');
	Assert.assertEquals(1, stringBundler.index());
	Assert.assertEquals("a", unsyncStringWriter.toString());
	unsyncStringWriter.append('b');
	Assert.assertEquals(2, stringBundler.index());
	Assert.assertEquals("ab", unsyncStringWriter.toString());
}