@Test
public void testAppendChar() 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', stringBuilder.charAt(0));
	unsyncStringWriter.append('b');
	Assert.assertEquals(2, stringBuilder.length());
	Assert.assertEquals('a', stringBuilder.charAt(0));
	Assert.assertEquals('b', stringBuilder.charAt(1));
	// 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", stringBundler.stringAt(0));
	unsyncStringWriter.append('b');
	Assert.assertEquals(2, stringBundler.index());
	Assert.assertEquals("a", stringBundler.stringAt(0));
	Assert.assertEquals("b", stringBundler.stringAt(1));
}