예제 #1
0
 public function test_it_triggers_error_when_magic_method_doesnt_find_event_method()
 {
     $this->setExpectedException('PHPUnit_Framework_Error');
     $light = new Light();
     $light->badMethodName();
 }