public function resolveMapping($attributeName, $value)
    {
        //when no mappings was defined, returns raw value
        if (!$this->hasMapping($attributeName)) {
            return $value;
        }

        $mappings = $this->mappingsContainer[$attributeName];
        if (is_array($mappings)) {
            foreach ($mappings as $mappingResolver) {
                if (!$mappingResolver instanceof MappingInterface) {
                    //get mapping instance from mapping manager
                    $mappingResolver = MappingManager::find($mappingResolver);
                }
                $mappingResolver->resolve($value);
            }
        }

        return $value;
    }