private function validateReplacementConfigured($replacementName)
    {
        try {
            $this->faker->__get($replacementName);
        } catch (\InvalidArgumentException $exception) {
            throw new InvalidReplacementOptionException($replacementName . ' is no valid faker replacement');
        }
    }
private function validateReplacementConfigured($replacementName)
    {
        try {
            $this->faker->__get($replacementName);
        } catch (\InvalidArgumentException $exception) {
            throw new InvalidReplacementOptionException($replacementName . ' is no valid faker replacement');
        }
    }
private function validateReplacementConfigured ( $ replacementName ) { try { $ this -> faker -> __get ( $ replacementName ) ; } catch ( \ InvalidArgumentException $ exception ) { throw new InvalidReplacementOptionException ( $ replacementName . ' is no valid faker replacement' ) ; } }
validates if this type of replacement was configured

@param string $replacementName
@throws \Webfactory\Slimdump\Exception\InvalidReplacementOptionException if not a faker method
validates if this type of replacement was configured