@Test
public void testAppendCharSequence() throws Exception {

	// StringBuilder
	UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter(false);
	StringBuilder stringBuilder = (StringBuilder)_stringBuilderField.get(
		unsyncStringWriter);
	Assert.assertNotNull(stringBuilder);
	Assert.assertNull(_stringBundlerField.get(unsyncStringWriter));
	unsyncStringWriter.append(new StringBuilder("ab"), 0, 2);
	Assert.assertEquals(2, stringBuilder.length());
	Assert.assertEquals('a', stringBuilder.charAt(0));
	Assert.assertEquals('b', stringBuilder.charAt(1));
	unsyncStringWriter.append(new StringBuilder("cd"));
	Assert.assertEquals(4, stringBuilder.length());
	Assert.assertEquals('a', stringBuilder.charAt(0));
	Assert.assertEquals('b', stringBuilder.charAt(1));
	Assert.assertEquals('c', stringBuilder.charAt(2));
	Assert.assertEquals('d', stringBuilder.charAt(3));
	// StringBundler
	unsyncStringWriter = new UnsyncStringWriter();
	StringBundler stringBundler = (StringBundler)_stringBundlerField.get(
		unsyncStringWriter);
	Assert.assertNull(_stringBuilderField.get(unsyncStringWriter));
	Assert.assertNotNull(stringBundler);
	unsyncStringWriter.append(new StringBuilder("ab"));
	Assert.assertEquals(1, stringBundler.index());
	Assert.assertEquals("ab", stringBundler.stringAt(0));
	unsyncStringWriter.append(new StringBuilder("cd"));
	Assert.assertEquals(2, stringBundler.index());
	Assert.assertEquals("ab", stringBundler.stringAt(0));
	Assert.assertEquals("cd", stringBundler.stringAt(1));
}