protected function mapPropertyWithSetter($object, $key, $value, $mappedClassName)
    {
        $setterName = $this->getSetterName($key);
        $value = $this->castParameter($mappedClassName, $key, $value);
        $object->$setterName($value);
    }