/**
  * @param int $idMapping
  *
  * @throws \Spryker\Zed\Cms\Business\Exception\MissingGlossaryKeyMappingException
  *
  * @return \Orm\Zed\Cms\Persistence\SpyCmsGlossaryKeyMapping
  */
 protected function getGlossaryKeyMappingById($idMapping)
 {
     $mappingEntity = $this->cmsQueryContainer->queryGlossaryKeyMappingById($idMapping)->findOne();
     if (!$mappingEntity) {
         throw new MissingGlossaryKeyMappingException(sprintf('Tried to retrieve a missing glossary key mapping with id %s', $idMapping));
     }
     return $mappingEntity;
 }