//create the mocks
final ProtocolSupportFactoryMock psfMock =
new ProtocolSupportFactoryMock("psfMock", expectations);
final ProtocolConfigurationMock protocolConfigurationMock =
new ProtocolConfigurationMock("protocolConfig", expectations);
final DOMFactoryMock domFactoryMock =
new DOMFactoryMock("domFactoryMock", expectations);
psfMock.expects.getDOMFactory().returns(domFactoryMock);
final DOMProtocolMock domProtocolMock = new DOMProtocolMock("protocol",
expectations, psfMock, protocolConfigurationMock);
final Inserter defaultContentInserter =