/** * @covers Ilios\CoreBundle\Entity\User::__construct */ public function testConstructor() { $this->assertEmpty($this->object->getAlerts()); $this->assertEmpty($this->object->getDirectedCourses()); $this->assertEmpty($this->object->getInstructorGroups()); $this->assertEmpty($this->object->getInstructorUserGroups()); $this->assertEmpty($this->object->getOfferings()); $this->assertEmpty($this->object->getProgramYears()); $this->assertEmpty($this->object->getReminders()); $this->assertEmpty($this->object->getRoles()); $this->assertEmpty($this->object->getLearnerGroups()); $this->assertEmpty($this->object->getLearningMaterials()); $this->assertEmpty($this->object->getCohorts()); }
/** * @covers \Ilios\CoreBundle\Entity\User::__construct */ public function testConstructor() { $this->assertEmpty($this->object->getAlerts()); $this->assertEmpty($this->object->getDirectedCourses()); $this->assertEmpty($this->object->getInstructorGroups()); $this->assertEmpty($this->object->getInstructedLearnerGroups()); $this->assertEmpty($this->object->getOfferings()); $this->assertEmpty($this->object->getProgramYears()); $this->assertEmpty($this->object->getReminders()); $this->assertEmpty($this->object->getRoles()); $this->assertEmpty($this->object->getLearnerGroups()); $this->assertEmpty($this->object->getLearningMaterials()); $this->assertEmpty($this->object->getCohorts()); $this->assertEmpty($this->object->getAuditLogs()); $this->assertEmpty($this->object->getReports()); $this->assertEmpty($this->object->getPendingUserUpdates()); $this->assertEmpty($this->object->getPermissions()); $this->assertEmpty($this->object->getAdministeredSessions()); $this->assertEmpty($this->object->getAdministeredCourses()); $this->assertEmpty($this->object->getDirectedSchools()); $this->assertEmpty($this->object->getAdministeredSchools()); $this->assertEmpty($this->object->getDirectedPrograms()); $this->assertFalse($this->object->isRoot()); }