privateSetUp();
protocol.emulateHorizontalTag = true;
assertTrue("Emulation should be on", protocol.emulateHorizontalTag);
pageContext.setDevicePolicyValue("charactersx", "10");
HorizontalRuleAttributes attrs = new HorizontalRuleAttributes();
final StylingFactory factory = StylingFactory.getDefaultInstance();
attrs.setStyles(factory.createStyles(factory.createPropertyValues(
StylePropertyDetails.getDefinitions())));
protocol.doHorizontalRule(buffer, attrs);
document.addNode(buffer.getRoot());
StyledDOMTester tester = new StyledDOMTester();
String output = tester.render(document);