Example #1
0
 /**
  * @test
  */
 public function check_if_single_slot_gets_registered()
 {
     $this->fixture->enable();
     $dispatcher = GeneralUtility::makeInstance(Dispatcher::class);
     $slots = $dispatcher->getSlots(Configuration::class, 'preParseConfiguration');
     $expectedSlots = [['class' => get_class($this->fixture), 'method' => 'execute', 'object' => null, 'passSignalInformation' => true]];
     $this->assertEquals($expectedSlots, $slots);
 }
Example #2
0
 /**
  * @deprecated
  */
 public function truncateTable()
 {
     TruncateTable::enable();
 }