"</body>";
Document dom = helper.parse(inputText);
Document expected = helper.parse(expectedText);
DOMTransformer transformer = new HTML_iModeTableEmulationTransformer();
HTML_iMode protocol = createProtocol();
protocol.deviceTablesCapable = false;
dom = transformer.transform(protocol, dom);
String domAsString = DOMUtilities.toString(
dom, protocol.getCharacterEncoder());
String expectedAsString = DOMUtilities.toString(
expected, protocol.getCharacterEncoder());