/**
  * @test
  */
 public function testGetAuditEntryClass()
 {
     $user = $this->getDiamanteUser();
     $this->auditEntityMapper->addAuditEntryClass('Diamante\\UserBundle\\Entity\\DiamanteUser', 'Diamante\\DeskBundle\\Entity\\Audit');
     $result = $this->auditEntityMapper->getAuditEntryClass($user);
     $this->assertEquals('Diamante\\DeskBundle\\Entity\\Audit', $result);
 }
 /**
  * @param $user
  *
  * @return string
  */
 protected function getLogClass($user)
 {
     return $this->diamanteAuditEntityMapper->getAuditEntryClass($user);
 }