public void ConvertPropertyAccessFunctionsToAssignmentActionBlock()
        {
            Expression <Func <string> > inputFunc1   = () => TestProperty1;
            Expression <Func <string> > inputFunc2   = () => TestProperty2;
            Action <string, string>     outputAction = (x1, x2) => { TestProperty1 = x1; TestProperty2 = x2; };

            var result = ExpressionConverter.ConvertMemberAccessFuncsToAssignmentActionBlock <string, string>(inputFunc1, inputFunc2);

            result.ToString().ShouldBe(outputAction.ToString());
        }
        public void ConvertVariableAccessFunctionsToAssignmentActionBlock()
        {
            string testString1 = null;
            string testString2 = null;
            Expression <Func <string> > inputFunc  = () => testString1;
            Expression <Func <string> > inputFunc2 = () => testString2;

            Action <string, string> outputAction = (x1, x2) => { testString1 = x1; testString2 = x2; };

            var result = ExpressionConverter.ConvertMemberAccessFuncsToAssignmentActionBlock <string, string>(inputFunc, inputFunc2);

            result.ToString().ShouldBe(outputAction.ToString());
        }