public function __construct($em, $logger)
 {
     parent::__construct(EntityNames::LOCATION, $em, $logger);
 }
 public function __construct($em, $logger)
 {
     parent::__construct(EntityNames::ARTICLE, $em, $logger);
 }
 public function __construct($em, $logger)
 {
     parent::__construct(EntityNames::EVENT, $em, $logger);
 }
 public function __construct($fileHandler, $em, $logger)
 {
     parent::__construct(EntityNames::FILE, $em, $logger);
     $this->fileHandler = $fileHandler;
 }
 public function __construct($em, $logger)
 {
     parent::__construct(EntityNames::SETTING, $em, $logger);
 }
 public function __construct($registrationHandler, $em, $logger)
 {
     parent::__construct(EntityNames::USER, $em, $logger);
     $this->registrationHandler = $registrationHandler;
 }
 /**
  * @dataProvider entityNamesDataProvider
  */
 public function testDelete($entityName)
 {
     $inserted = $this->insertObject($entityName);
     $dataAccessor = new DataAccessor($entityName, $this->em, $this->logger);
     $ret = $dataAccessor->getById($inserted->getId());
     $this->assertEquals($inserted, $ret);
     $dataAccessor->delete($inserted->getId());
     $ret = $dataAccessor->getAll();
     $this->assertEmpty($ret);
 }