Example #1
0
 public function testCancel()
 {
     $e = new Event(null, 'test');
     $this->assertFalse($e->isCancelled());
     $e->cancel();
     $this->assertTrue($e->isCancelled());
 }