private static void AddVerifierForDecorateeFactoryDependency(Expression decorateeExpression,
                                                                     InstanceProducer producer)
        {
            // Func<T> dependencies for the decoratee must be explicitly added to the InstanceProducer as
            // verifier. This allows those dependencies to be verified when calling Container.Verify().
            Action verifier = GetVerifierFromDecorateeExpression(decorateeExpression);

            producer.AddVerifier(verifier);
        }
        private static void AddVerifierForDecorateeFactoryDependency(Expression decorateeExpression,
            InstanceProducer producer)
        {
            // Func<T> dependencies for the decoratee must be explicitly added to the InstanceProducer as 
            // verifier. This allows those dependencies to be verified when calling Container.Verify().
            Action verifier = GetVerifierFromDecorateeExpression(decorateeExpression);

            producer.AddVerifier(verifier);
        }