/** * Get the LogEntry class * * @return string */ protected function getLogEntityClass() { return $this->auditEntityMapper->getAuditEntryClass($this->getLoadedUser()); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage Audit entry not found for "Oro\Bundle\UserBundle\Entity\User" */ public function testAuditEntryFailed() { $this->mapper->getAuditEntryClass($this->getUser()); }