// =====================================================================
// Create Mocks
// =====================================================================
// Create a dynamic mock MarkupPlugin with a sequence of expectations.
MarkupPluginMock plugin = (MarkupPluginMock) createMockPluginInstance(
"pluginMock");
// Create a mock factory.
IntegrationPluginFactoryMock factory = createMockPluginFactory(
"pluginFactoryMock");