コード例 #1
0
 /**
  * @covers Core\Entity\StudentGrade::setIndependentWork
  * @covers Core\Entity\StudentGrade::getIndependentWork
  */
 public function testSetGetIndependentWork()
 {
     $mockIndependentWork = $this->getMockBuilder('Core\\Entity\\IndependentWork')->getMock();
     $this->studentGrade->setIndependentWork($mockIndependentWork);
     $this->assertEquals($mockIndependentWork, $this->studentGrade->getIndependentWork());
 }