assertEquals("12bc34", getContent(buffer));
assertCorrectLength(buffer);
}
public void testDeepFragments() throws Exception {
SitemeshBuffer buffer = newSitemeshBuffer("123456789",
3, newBufferFragment("abcdefg",
4, newBufferFragment("hijklm", 1, 1),
5, newBufferFragment("nopqr", 1, 4)),
8, newBufferFragment("tuzwx", 0, 2));
assertEquals("123abcdieopqrfg45678tu9", getContent(buffer));