Пример #1
0
 /**
  * Get the LogEntry class
  *
  * @return string
  */
 protected function getLogEntityClass()
 {
     return $this->auditEntityMapper->getAuditEntryClass($this->getLoadedUser());
 }
Пример #2
0
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Audit entry field not found for "Oro\Bundle\UserBundle\Entity\User"
  */
 public function testAuditEntryFieldFailed()
 {
     $this->mapper->getAuditEntryFieldClass($this->getUser());
 }