public function testApiUnregisterPlugin_ReturnsFactoryPlugin() { $plugin = $this->createFactoryPlugin(); $factory = $this->createFactory(); $this->assertSame($plugin, $plugin->unregisterPlugin($factory)); }