// =====================================================================
// Test Expectations
// =====================================================================
// Get the plugin.
IntegrationPluginContainer container = createContainer();
IntegrationPlugin firstPlugin = container.getPlugin(factory);
assertSame("Unexpected value retrieved from container.",
plugin, firstPlugin);
// Get the plugin again.
IntegrationPlugin secondPlugin = container.getPlugin(factory);
assertSame("Expected same object as the first time",
firstPlugin, secondPlugin);
}