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