Beispiel #1
0
 /**
  * @dataProvider loopsProvider
  * @param LoopExtendedInterface|LoopModelInterface|mixed $loop
  */
 public function testApiIsTimerActive_ReturnsFalse_ForInActiveTimer($loop)
 {
     $timer = $loop->addTimer(0.001, $this->expectCallableNever());
     $loop->cancelTimer($timer);
     $this->assertFalse($loop->isTimerActive($timer));
     unset($timer);
     unset($loop);
 }