/**
  * Test update all statuses
  */
 public function testUpdateStatuses()
 {
     $this->repository->updateTimersStatus();
     $this->repository->updateStatus();
     $result = $this->repository->findOneBy(['name' => 'testTimer']);
     $this->assertEquals('testTimer', $result->getName());
     $this->assertEquals('expired', $result->getStatus());
     $this->assertTrue($result->getEndTimeExpired());
 }