/** * @covers Core\Entity\Administrator::setUpdatedBy * @covers Core\Entity\Administrator::getUpdatedBy */ public function testSetGetUpdatedBy() { $mockUpdatedBy = $this->getMockBuilder('Core\\Entity\\LisUser')->getMock(); $this->administrator->setUpdatedBy($mockUpdatedBy); $this->assertEquals($mockUpdatedBy, $this->administrator->getUpdatedBy()); }