/** * @covers Applications\Entity\Application::setReadBy * @covers Applications\Entity\Application::getReadBy */ public function testSetGetReadBy() { $readBy = [new \MongoId(), new \MongoId()]; $this->target->setReadBy($readBy); $this->assertEquals($readBy, $this->target->getReadBy()); }