*/
protected StyleEmulationVisitor createStyleVisitor() {
ProtocolConfigurationImpl configuration = getProtocolConfiguration();
final HashMap policies = new HashMap();
InternalDevice device = INTERNAL_DEVICE_FACTORY.createInternalDevice(
new DefaultDevice("testDevice", policies, null));
DeviceCapabilityManagerBuilder builder =
new DeviceCapabilityManagerBuilder(device);
configuration.initialize(device, builder);
return new StyleEmulationVisitor(domFactory,
configuration.getStyleEmulationElementConfiguration(),