/** * @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 getContactLesson() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getContactLesson', array()); return parent::getContactLesson(); }