Tree <string> Compose(ComposeOperator <string> composeOperator, object instance, Type type)
        {
            var compose = (SlimOperator)composeOperator;

            compose.Processor = processor;
            Assert.IsTrue(composeOperator.CanCompose(new TypedValue(instance, type)));
            return(composeOperator.Compose(new TypedValue(instance, type)));
        }
        void CheckCompose(ComposeOperator <string> composeOperator, object instance, Type type, object expected)
        {
            var compose = (SlimOperator)composeOperator;

            compose.Processor = processor;
            Assert.IsTrue(composeOperator.CanCompose(new TypedValue(instance, type)));
            Tree <string> result = composeOperator.Compose(new TypedValue(instance, type));

            Assert.AreEqual(expected, result.Value);
        }
 Tree<string> Compose(ComposeOperator<string> composeOperator, object instance, Type type)
 {
     var compose = (SlimOperator)composeOperator;
     compose.Processor = processor;
     Assert.IsTrue(composeOperator.CanCompose(new TypedValue(instance, type)));
     return composeOperator.Compose(new TypedValue(instance, type));
 }
 void CheckCompose(ComposeOperator<string> composeOperator, object instance, Type type, object expected)
 {
     var compose = (SlimOperator)composeOperator;
     compose.Processor = processor;
     Assert.IsTrue(composeOperator.CanCompose(new TypedValue(instance, type)));
     Tree<string> result = composeOperator.Compose(new TypedValue(instance, type));
     Assert.AreEqual(expected, result.Value);
 }