/** * @covers Applications\Entity\Application::isReadBy */ public function testIsUnReadByWithUser() { $user = new User(); $user->setId(123); $readBy = [123, 234]; $this->target->setReadBy($readBy); $this->assertEquals(false, $this->target->isUnReadBy($user)); }