/** * @covers Ilios\CoreBundle\Entity\Course::__construct */ public function testConstructor() { $this->assertEmpty($this->object->getCohorts()); $this->assertEmpty($this->object->getDirectors()); $this->assertEmpty($this->object->getDisciplines()); $this->assertEmpty($this->object->getMeshDescriptors()); $this->assertEmpty($this->object->getObjectives()); }
/** * @covers \Ilios\CoreBundle\Entity\Course::__construct */ public function testConstructor() { $this->assertEmpty($this->object->getCohorts()); $this->assertEmpty($this->object->getDirectors()); $this->assertEmpty($this->object->getMeshDescriptors()); $this->assertEmpty($this->object->getObjectives()); $this->assertEmpty($this->object->getLearningMaterials()); $this->assertEmpty($this->object->getSessions()); $this->assertEmpty($this->object->getTerms()); $this->assertEmpty($this->object->getDescendants()); $this->assertEmpty($this->object->getAdministrators()); }