コード例 #1
0
ファイル: OfferingTest.php プロジェクト: profcab/ilios
 /**
  * @covers Ilios\CoreBundle\Entity\Offering::__construct
  */
 public function testConstructor()
 {
     $this->assertEmpty($this->object->getLearnerGroups());
     $this->assertEmpty($this->object->getInstructorGroups());
     $this->assertEmpty($this->object->getRecurringEvents());
     $this->assertEmpty($this->object->getLearners());
     $this->assertEmpty($this->object->getInstructors());
 }
コード例 #2
0
ファイル: OfferingTest.php プロジェクト: Okami-/ilios
 /**
  * @covers Ilios\CoreBundle\Entity\Offering::__construct
  */
 public function testConstructor()
 {
     $this->assertEmpty($this->object->getLearnerGroups());
     $this->assertEmpty($this->object->getInstructorGroups());
     $this->assertEmpty($this->object->getLearners());
     $this->assertEmpty($this->object->getInstructors());
     $this->assertNotEmpty($this->object->getUpdatedAt());
 }