Example #1
0
 /**
  * @covers Core\Entity\SubjectRound::setSubject
  * @covers Core\Entity\SubjectRound::getSubject
  */
 public function testSetGetSubject()
 {
     $mockSubject = $this->getMockBuilder('Core\\Entity\\Subject')->getMock();
     $this->subjectRound->setSubject($mockSubject);
     $this->assertEquals($mockSubject, $this->subjectRound->getSubject());
 }
 /**
  * {@inheritDoc}
  */
 public function getSubject()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubject', array());
     return parent::getSubject();
 }