protected function getMappedClassName($className, $classMap)
    {
        if (array_key_exists($className, $classMap)) {
            $mappedClassName = $classMap[$className];
        } else {
            $mappedClassName = 'stdClass';
        }

        // Existence
        $this->checkClassExistence($mappedClassName);

        return $mappedClassName;
    }