* @throws Exception
*/
public void testSmall() throws Exception {
DOMOutputBuffer buffer = new DOMOutputBuffer();
buffer.initialise();
protocol.openSmall(buffer, new SmallAttributes());
buffer.appendEncoded("Test");
protocol.closeSmall(buffer, new SmallAttributes());
String expected = "<small>Test</small>";
assertEquals("Protocol string should match", expected,
bufferToString(buffer));
}