@Test
public void testBlockSize() throws Exception {

	pipe.setSender(getElementRenderer());
	pipe.setBlockSize(2);
	pipe.setBlockPrefix("<block>");
	pipe.setBlockSuffix("</block>");
	configurePipe();
	pipe.start();
	PipeRunResult prr = doPipe(pipe, messageBasicNoNS, session);
	String actual = Message.asString(prr.getResult());
	assertEquals(expectedBasicNoNSBlock, actual);
}