protected function fetchConfiguration($parameter)
    {
        $configuration = $this->configurationRepository->fetchParameter($parameter);
        if (null === $configuration) {
            $exception = array(
                'message' => 'exception_parameter_does_not_exist',
                'parameters' => array(
                    '%parameter%' => $parameter,
                ),
            );
            throw new InvalidArgumentException(json_encode($exception));
        }

        return $configuration;
    }