コード例 #1
0
ファイル: CourseTest.php プロジェクト: profcab/ilios
 /**
  * @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());
 }
コード例 #2
0
ファイル: CourseTest.php プロジェクト: stopfstedt/ilios
 /**
  * @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());
 }