/** * @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()); }
/** * @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()); }