createOrThrowException() public static method

public static createOrThrowException ( array $notifiers = [] ) : Joli\JoliNotif\Notifier
$notifiers array
return Joli\JoliNotif\Notifier
コード例 #1
0
 /** @expectedException \Joli\JoliNotif\Exception\NoSupportedNotifierException */
 public function testCreateOrThrowExceptionWithNoSupportedNotifiersThrowsException()
 {
     NotifierFactory::createOrThrowException([new ConfigurableNotifier(false), new ConfigurableNotifier(false)]);
 }