public function testApiRegisterPlugin_ReturnsPlugin() { $plugin = $this->createSupervisorPlugin(); $supervisor = $this->createSupervisor(); $this->assertSame($plugin, $plugin->registerPlugin($supervisor)); }