/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="action">Action</param>
        public ActionProcessor(QueueActivity <T> action)
        {
            if (null == action)
            {
                throw new ArgumentNullException("action");
            }

            this.action = action;
        }
        public void ProcessorValue()
        {
            var expected = new QueueActivity <object>(async(obj) => { return(await Task.FromResult <bool>(true)); });
            var qc       = new QueueAction <object>()
            {
                Activity = expected,
            };

            Assert.IsNotNull(qc.Processor() as ActionProcessor <object>);
        }
        public void Activity()
        {
            var expected = new QueueActivity <object>(async(obj) => { return(await Task.FromResult <bool>(true)); });
            var qc       = new QueueAction <object>()
            {
                Activity = expected,
            };

            Assert.AreEqual(expected, qc.Activity);
        }