/** * @covers Core\Entity\SubjectRound::setContactLesson * @covers Core\Entity\SubjectRound::getContactLesson */ public function testSetGetContactLesson() { $mockContactLesson = $this->getMockBuilder('Core\\Entity\\ContactLesson')->getMock(); $this->subjectRound->setContactLesson($mockContactLesson); $this->assertEquals($mockContactLesson, $this->subjectRound->getContactLesson()); }
/** * {@inheritDoc} */ public function setContactLesson(\Core\Entity\ContactLesson $contactLesson) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setContactLesson', array($contactLesson)); return parent::setContactLesson($contactLesson); }