コード例 #1
0
ファイル: DispatcherTest.php プロジェクト: CDRO/TYPO3.CMS
 /**
  * @test
  * @expectedException \InvalidArgumentException
  */
 public function connectThrowsInvalidArgumentExceptionIfSlotMethodNameIsEmptyAndSlotClassNameIsNoClosure()
 {
     $this->signalSlotDispatcher->connect('ClassA', 'emitSomeSignal', 'ClassB', '');
 }