示例#1
0
文件: EventTest.php 项目: f21/paradox
 /**
  * @covers Paradox\Event::propagationStopped
  */
 public function testPropagationStopped()
 {
     $this->assertFalse($this->event->propagationStopped(), "The propagation should not be stopped");
     $this->event->stopPropagation();
     $this->assertTrue($this->event->propagationStopped(), "The propagation should be stopped");
 }