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