protected function validateService($serviceName, $methodName, $arguments = array())
    {
        $service = $this->container->get($serviceName);
        if (!is_callable(array($service, $methodName))) {
            throw new \UnexpectedValueException("Method $methodName not found in class " . get_class($service) . " implementing service $serviceName");
        }
    }