private function guardProviderName($model)
    {
        if ($model->getProviderName() !== $this->sourceProvider) {
            throw new \InvalidArgumentException(
                \sprintf('provider name %s is not equal to %s', $model->getProviderName(), $this->getSourceName())
            );
        }
    }