Esempio n. 1
0
 /**
  * @return array
  */
 private function getUnackedQueueSize()
 {
     $count = $this->queueItemRepo->getUnackedQueueSize();
     $kpiType = self::INFO;
     return [self::UNACKED_QUEUE_SIZE => [self::VALUE => $count, self::TYPE => $kpiType]];
 }
Esempio n. 2
0
 /**
  * @covers DmMailer\Repository\QueueItem
  */
 public function testGetUnackedQueueSize()
 {
     $actualResult = $this->sut->getUnackedQueueSize();
     $this->assertEquals(4, $actualResult);
 }