コード例 #1
0
ファイル: RenameFileTest.php プロジェクト: sirdiego/importr
 /**
  * @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);
 }
コード例 #2
0
ファイル: SignalService.php プロジェクト: sirdiego/importr
 /**
  * @deprecated
  */
 public function renameFile()
 {
     RenameFile::enable();
 }