Exemplo n.º 1
0
 /**
  * Starts event redirection.
  *
  * You can verify if events were triggered or not by inspecting the events
  * array in the returned event sink instance. The redirection
  * can be stopped by calling $sink->close();
  *
  * @return phpunit_event_sink
  */
 public function redirectEvents() {
     return phpunit_util::start_event_redirection();
 }