public function createTimer($interval, callable $handler, $periodic = false, $data = null)
{
$this->prophecy = $this->prophesize(LoopModelMock::class);
$this->loop = $this->prophecy->reveal();
return new Timer($this->loop, $interval, $handler, $periodic, $data);
}