示例#1
0
 /**
  * @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
 /**
  * @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());
 }