public function setProvider($provider, array $arguments = array())
    {
        if (null === $provider || '' === $provider) {
            throw new \InvalidArgumentException('A property faker provider name can not be empty');
        }

        $this->provider = $provider;

        if (!empty($arguments)) {
            $this->arguments = $arguments;
        }
    }