/** * @test */ public function check_if_single_slot_gets_registered() { $this->fixture->enable(); $dispatcher = GeneralUtility::makeInstance(Dispatcher::class); $slots = $dispatcher->getSlots(Manager::class, 'afterImport'); $expectedSlots = [['class' => get_class($this->fixture), 'method' => 'execute', 'object' => null, 'passSignalInformation' => true]]; $this->assertEquals($expectedSlots, $slots); }
/** * @deprecated */ public function renameFile() { RenameFile::enable(); }